From 056d77f479d492e3c6f86bd791bee6797302de0a Mon Sep 17 00:00:00 2001 From: Joshua Scoggins Date: Sat, 23 Apr 2016 17:04:45 -0700 Subject: [PATCH] Assume OSX if we have defined __APPLE__ (#46) --- Sources/Engine/Base/Base.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Sources/Engine/Base/Base.h b/Sources/Engine/Base/Base.h index 41fa86e..fd032f3 100644 --- a/Sources/Engine/Base/Base.h +++ b/Sources/Engine/Base/Base.h @@ -61,17 +61,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #define PLATFORM_LINUX 1 #endif #elif (defined __APPLE__) - #include "TargetConditionals.h" - #if TARGET_OS_MAC #define PLATFORM_MACOSX 1 - #else - #error "Unsupported apple platform" - #endif #else #warning "UNKNOWN PLATFORM IDENTIFIED!!!!" #define PLATFORM_UNKNOWN 1 #warning "USING PORTABLE C!!!" - #define USE_PORTABLE_C + #define USE_PORTABLE_C #endif #if PLATFORM_LINUX || PLATFORM_MACOSX