32#ifndef __SO3_PLATFORM_H__
33#define __SO3_PLATFORM_H__
36#define SO3_PLATFORM_WINDOWS 1
37#define SO3_PLATFORM_LINUX 2
38#define SO3_PLATFORM_APPLE 3
39#define SO3_PLATFORM_ANDROID 4
40#define SO3_PLATFORM_IOS 5
43#define SO3_COMPILATOR_MSVC 1
44#define SO3_COMPILATOR_GNUC 2
48# define SO3_COMPILATOR SO3_COMPILATOR_MSVC
49# define SO3_COMPILATOR_VERSION _MSC_VER
51#elif defined(__GNUC__)
52# define SO3_COMPILATOR SO3_COMPILATOR_GNUC
53# define SO3_COMPILATOR_VERSION __VERSION__
56# pragma error "No supported compilator found, abborting compilation!"
60#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(_WINDOWS)
61# define SO3_PLATFORM SO3_PLATFORM_WINDOWS
63#elif defined(__APPLE__) && !defined(APPLE_IOS)
64# define SO3_PLATFORM SO3_PLATFORM_APPLE
66#elif defined(APPLE_IOS)
67# define SO3_PLATFORM SO3_PLATFORM_IOS
70# define SO3_PLATFORM SO3_PLATFORM_ANDROID
73# define SO3_PLATFORM SO3_PLATFORM_LINUX
Ms Windows specific options.
GCC compiler specific options.
Ms Windows specific options.
Microsoft compiler specific options.