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:
Vadim Grigoruk
2018-05-28 10:46:35 +03:00
committed by GitHub

View File

@@ -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