]> git.saurik.com Git - apple/objc4.git/blobdiff - test/bool.c
objc4-818.2.tar.gz
[apple/objc4.git] / test / bool.c
index c12cc32eecd84e558b4877e529e7f14130ef6897..f11241476068ef81ea19e7118a8cfa1872956840 100644 (file)
@@ -5,7 +5,11 @@
 #include <objc/objc.h>
 
 #if TARGET_OS_OSX
-#   define RealBool 0
+#   if __x86_64__
+#       define RealBool 0
+#   else
+#       define RealBool 1
+#   endif
 #elif TARGET_OS_IOS || TARGET_OS_BRIDGE
 #   if (__arm__ && !__armv7k__) || __i386__
 #       define RealBool 0