Fixed check for TARGET_OS_IPHONE and TARGET_OS_WATCH
This commit is contained in:
parent
5d3dc7b925
commit
d1adfd5ecc
@ -167,7 +167,7 @@ typedef void* PVOID, *LPVOID, *PVOID64, *LPVOID64;
|
||||
typedef __int32 BOOL;
|
||||
#else /* __APPLE__ */
|
||||
/* ensure compatibility with objc libraries */
|
||||
#if (TARGET_OS_IPHONE && __LP64__) || TARGET_OS_WATCH
|
||||
#if (defined(TARGET_OS_IPHONE) && defined(__LP64__)) || defined(TARGET_OS_WATCH)
|
||||
typedef bool BOOL;
|
||||
#else
|
||||
typedef signed char BOOL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user