25 #ifndef SFML_CONFIG_HPP 26 #define SFML_CONFIG_HPP 32 #define SFML_VERSION_MAJOR 2 33 #define SFML_VERSION_MINOR 3 34 #define SFML_VERSION_PATCH 2 44 #define SFML_SYSTEM_WINDOWS 49 #elif defined(__APPLE__) && defined(__MACH__) 52 #include "TargetConditionals.h" 54 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR 57 #define SFML_SYSTEM_IOS 62 #define SFML_SYSTEM_MACOS 67 #error This Apple operating system is not supported by SFML library 71 #elif defined(__unix__) 74 #if defined(__ANDROID__) 77 #define SFML_SYSTEM_ANDROID 79 #elif defined(__linux__) 82 #define SFML_SYSTEM_LINUX 84 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) 87 #define SFML_SYSTEM_FREEBSD 89 #elif defined(__GNU__) 92 #define SFML_SYSTEM_LINUX 93 #define SFML_SYSTEM_HURD 98 #error This UNIX operating system is not supported by SFML library 105 #error This operating system is not supported by SFML library 123 #if !defined(SFML_STATIC) 125 #if defined(SFML_SYSTEM_WINDOWS) 128 #define SFML_API_EXPORT __declspec(dllexport) 129 #define SFML_API_IMPORT __declspec(dllimport) 134 #pragma warning(disable: 4251) 138 #else // Linux, FreeBSD, Mac OS X 144 #define SFML_API_EXPORT __attribute__ ((__visibility__ ("default"))) 145 #define SFML_API_IMPORT __attribute__ ((__visibility__ ("default"))) 150 #define SFML_API_EXPORT 151 #define SFML_API_IMPORT 160 #define SFML_API_EXPORT 161 #define SFML_API_IMPORT 176 typedef signed char Int8;
177 typedef unsigned char Uint8;
180 typedef signed short Int16;
181 typedef unsigned short Uint16;
184 typedef signed int Int32;
185 typedef unsigned int Uint32;
188 #if defined(_MSC_VER) 189 typedef signed __int64 Int64;
190 typedef unsigned __int64 Uint64;
192 typedef signed long long Int64;
193 typedef unsigned long long Uint64;
199 #endif // SFML_CONFIG_HPP