(fixes issue #270) by Sherm Pendley, TRUE/FALSE definition and header fixes

This commit is contained in:
Christopher Lloyd 2009-11-05 14:47:52 +00:00
parent 8ba856275e
commit ba24e98557
2 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,14 @@ static inline CFRange CFRangeMake(CFIndex loc,CFIndex len){
return result; return result;
} }
#ifndef TRUE
#define TRUE ((BOOL)1)
#endif
#ifndef FALSE
#define FALSE ((BOOL)0)
#endif
typedef enum { typedef enum {
kCFCompareLessThan = -1, kCFCompareLessThan = -1,
kCFCompareEqualTo = 0, kCFCompareEqualTo = 0,

View File

@ -34,6 +34,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <inttypes.h> #import <inttypes.h>
#endif #endif
#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/FoundationErrors.h> #import <Foundation/FoundationErrors.h>
#import <Foundation/NSAffineTransform.h> #import <Foundation/NSAffineTransform.h>
#import <Foundation/NSArchiver.h> #import <Foundation/NSArchiver.h>