Merge pull request #610 from armadsen/fix-ios-target-check
Fix failing #ifndef TARGET_OS_IPHONE check when building for macOS
This commit is contained in:
commit
7fb6a86484
|
@ -31,7 +31,7 @@
|
|||
#if defined(__APPLE__)
|
||||
# include "AvailabilityMacros.h"
|
||||
# include "TargetConditionals.h"
|
||||
# ifndef TARGET_OS_IPHONE
|
||||
# if !TARGET_OS_IPHONE
|
||||
# undef __TIC_MACOSX__
|
||||
# define __TIC_MACOSX__ 1
|
||||
# if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
||||
|
@ -78,4 +78,4 @@
|
|||
# else
|
||||
# define TIC80_API
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue