Allow OS_OBJECT_HAVE_OBJC_SUPPORT on i386 as well

This commit is contained in:
Ariel Abreu 2021-04-30 08:01:21 -04:00
parent cc0856ab03
commit 1517faca3b
No known key found for this signature in database
GPG Key ID: BB20848279B910AC

View File

@ -65,7 +65,7 @@
#elif TARGET_OS_MAC && !TARGET_OS_IPHONE
# if __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8
# define OS_OBJECT_HAVE_OBJC_SUPPORT 0
# elif defined(__i386__) && __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_12
# elif defined(__i386__) && __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_12 && !defined(DARLING)
# define OS_OBJECT_HAVE_OBJC_SUPPORT 0
# else
# define OS_OBJECT_HAVE_OBJC_SUPPORT 1