]> git.saurik.com Git - apple/objc4.git/blob - runtime/NSObjCRuntime.h
objc4-551.1.tar.gz
[apple/objc4.git] / runtime / NSObjCRuntime.h
1 /* NSObjCRuntime.h
2 Copyright (c) 1994-2012, Apple Inc. All rights reserved.
3 */
4
5 #ifndef _OBJC_NSOBJCRUNTIME_H_
6 #define _OBJC_NSOBJCRUNTIME_H_
7
8 #include <TargetConditionals.h>
9 #include <objc/objc.h>
10
11 #if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64
12 typedef long NSInteger;
13 typedef unsigned long NSUInteger;
14 #else
15 typedef int NSInteger;
16 typedef unsigned int NSUInteger;
17 #endif
18
19 #define NSIntegerMax LONG_MAX
20 #define NSIntegerMin LONG_MIN
21 #define NSUIntegerMax ULONG_MAX
22
23 #define NSINTEGER_DEFINED 1
24
25
26 #endif