2 // Prefix header for all source files of the 'MacTF' target in the 'MacTF' project
4 // This file was modified by Kalle Olavi Niemitalo on 2007-11-02.
7 #import <Cocoa/Cocoa.h>
10 // NSInteger was added in the Mac OS X 10.5 (Leopard) SDK, and is required for
11 // 64-bit builds. The 10.5 SDK can be used to build 10.4 compatible binaries,
12 // but this apparently requires the build machine to run 10.5. To keep MacTF
13 // buildable on 10.4, conditionally define NSInteger here. Do not define it
14 // if it has already been defined (i.e. the SDK is 10.5 or later) or this is
15 // a 64-bit build (because this definition is wrong for those).
16 #if !NSINTEGER_DEFINED && !__LP64__
17 typedef int NSInteger;
18 typedef unsigned int NSUInteger;
19 #define NSIntegerMin INT_MIN
20 #define NSIntegerMax INT_MAX
21 #define NSUIntegerMax UINT_MAX