Go to the documentation of this file.
12#if !defined(SCL_PLATFORM_WINDOWS) && \
13 !defined(SCL_PLATFORM_IOS) && \
14 !defined(SCL_PLATFORM_MACOS) && \
15 !defined(SCL_PLATFORM_ANDROID) && \
16 !defined(SCL_PLATFORM_LINUX)
22# define SCL_PLATFORM_WINDOWS
25# error "x86 Builds are not supported!"
27# elif defined(__APPLE__) || defined(__MACH__)
28# include <TargetConditionals.h>
33# if TARGET_IPHONE_SIMULATOR == 1
34# error "IOS simulator is not supported!"
35# elif TARGET_OS_IPHONE == 1
36# define SCL_PLATFORM_IOS
37# error "IOS is not supported!"
38# elif TARGET_OS_MAC == 1
39# define SCL_PLATFORM_MACOS
40# error "MacOS is not supported!"
42# error "Unknown Apple platform!"
47# elif defined(__ANDROID__)
48# define SCL_PLATFORM_ANDROID
49# error "Android is not supported!"
50# elif defined(__linux__)
51# define SCL_PLATFORM_LINUX
52# error "Linux is not supported!"
55# error "Unknown platform!"