From 2381736ddefe2edb46febbe1a5fc443ac5dfa7a6 Mon Sep 17 00:00:00 2001 From: Andrew Madsen Date: Sat, 26 May 2018 00:23:36 -0600 Subject: [PATCH] Fix failing #ifndef TARGET_OS_IPHONE check when building for macOS --- include/tic80_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tic80_config.h b/include/tic80_config.h index 932eebd..64d8908 100644 --- a/include/tic80_config.h +++ b/include/tic80_config.h @@ -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 \ No newline at end of file +#endif