From f39f8ca08b32f1e86153dd1c630f2258874254e6 Mon Sep 17 00:00:00 2001 From: Vadim Grigoruk Date: Mon, 13 Aug 2018 18:00:27 +0300 Subject: [PATCH] restore __TIC_MACOSX__ define --- include/tic80_config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/tic80_config.h b/include/tic80_config.h index 932eebd..750dc7e 100644 --- a/include/tic80_config.h +++ b/include/tic80_config.h @@ -29,15 +29,16 @@ #define TIC_BUILD_WITH_WREN 1 #if defined(__APPLE__) +// TODO: this disables macos config # include "AvailabilityMacros.h" # include "TargetConditionals.h" -# ifndef TARGET_OS_IPHONE +// # ifndef TARGET_OS_IPHONE # undef __TIC_MACOSX__ # define __TIC_MACOSX__ 1 # if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 # error SDL for Mac OS X only supports deploying on 10.6 and above. # endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */ -# endif /* TARGET_OS_IPHONE */ +// # endif /* TARGET_OS_IPHONE */ #endif /* defined(__APPLE__) */ #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)