Fix failing #ifndef TARGET_OS_IPHONE check when building for macOS

This commit is contained in:
Andrew Madsen 2018-05-26 00:23:36 -06:00
parent 62f21ba2a6
commit 2381736dde
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
#if defined(__APPLE__) #if defined(__APPLE__)
# include "AvailabilityMacros.h" # include "AvailabilityMacros.h"
# include "TargetConditionals.h" # include "TargetConditionals.h"
# ifndef TARGET_OS_IPHONE # if !TARGET_OS_IPHONE
# undef __TIC_MACOSX__ # undef __TIC_MACOSX__
# define __TIC_MACOSX__ 1 # define __TIC_MACOSX__ 1
# if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 # if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
@ -78,4 +78,4 @@
# else # else
# define TIC80_API # define TIC80_API
# endif # endif
#endif #endif