7 #if defined(__APPLE__) && __APPLE__ 8 #define SCL_PLATFORM_APPLE true 9 #include "TargetConditionals.h" 15 #if defined(TARGET_IPHONE_SIMULATOR) && TARGET_IPHONE_SIMULATOR 16 #define SCL_PLATFORM_IOS_SIMULATOR true 18 #define SCL_PLATFORM_IOS_SIMULATOR false 25 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE 26 #define SCL_PLATFORM_IOS (!SCL_PLATFORM_IOS_SIMULATOR) 28 #define SCL_PLATFORM_IOS false 35 #if defined(TARGET_OS_MAC) && TARGET_OS_MAC 36 #define SCL_PLATFORM_OSX (!SCL_PLATFORM_IOS) 38 #define SCL_PLATFORM_OSX false 41 #define SCL_PLATFORM_APPLE false 42 #define SCL_PLATFORM_IOS_SIMULATOR false 43 #define SCL_PLATFORM_IOS false 44 #define SCL_PLATFORM_OSX false 51 #define SCL_PLATFORM_MAC SCL_PLATFORM_OSX 57 #define SCL_PLATFORM_IPHONE SCL_PLATFORM_IOS
Global namespace of the SCL.
#define SCL_PLATFORM_APPLE
Macro that detects whether or not the platform is by Apple.
#define SCL_PLATFORM_MAC
Macro that detects whether or not the platform is a Mac.
#define SCL_PLATFORM_IOS_SIMULATOR
#define SCL_PLATFORM_IPHONE