22 #if defined(EMSCRIPTEN)
23 #define PORTING_PLATFORM_EMSCRIPTEN
24 #elif defined(__ANDROID__)
25 #define PORTING_PLATFORM_ANDROID
26 #elif defined(__linux)
27 #define PORTING_PLATFORM_LINUX
29 #define PORTING_PLATFORM_WINDOWS
30 #elif defined(__APPLE__)
31 #define PORTING_PLATFORM_MAC
32 #include "TargetConditionals.h"
34 #define PORTING_PLATFORM_IOS
36 #elif defined(__QNX__)
37 #define PORTING_PLATFORM_QNX
39 #warning Cannot determine platform