Go to the documentation of this file.
9 #undef CK_PLATFORM_ANDROID
10 #undef CK_PLATFORM_MACOS
11 #undef CK_PLATFORM_WIN
14 # include <TargetConditionals.h>
16 # define CK_PLATFORM_IOS 1
18 # define CK_PLATFORM_MACOS 1
20 #elif defined(__ANDROID__)
21 # define CK_PLATFORM_ANDROID 1
22 #elif defined(_WIN64) || defined(_WIN32)
23 # define CK_PLATFORM_WIN 1
26 #if CK_PLATFORM_MACOS && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
27 # error "Mac OS 10.6 required!"
30 #if !CK_PLATFORM_IOS && !CK_PLATFORM_ANDROID && !CK_PLATFORM_MACOS && !CK_PLATFORM_WIN
31 # error "Unsupported platform!"