32 #define CSFML_VERSION_MAJOR 2 33 #define CSFML_VERSION_MINOR 3 34 #define CSFML_VERSION_PATCH 0 41 #define CSFML_EXTERN_C extern "C" 43 #define CSFML_EXTERN_C extern 50 #if defined(_WIN32) || defined(__WIN32__) 53 #define CSFML_SYSTEM_WINDOWS 55 #elif defined(linux) || defined(__linux) 58 #define CSFML_SYSTEM_LINUX 60 #elif defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh) 63 #define CSFML_SYSTEM_MACOS 65 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__) 68 #define CSFML_SYSTEM_FREEBSD 73 #error This operating system is not supported by SFML library 81 #if defined(CSFML_SYSTEM_WINDOWS) 84 #define CSFML_API_EXPORT extern "C" __declspec(dllexport) 85 #define CSFML_API_IMPORT CSFML_EXTERN_C __declspec(dllimport) 90 #pragma warning(disable : 4251) 94 #else // Linux, FreeBSD, Mac OS X 100 #define CSFML_API_EXPORT extern "C" __attribute__ ((__visibility__ ("default"))) 101 #define CSFML_API_IMPORT CSFML_EXTERN_C __attribute__ ((__visibility__ ("default"))) 106 #define CSFML_API_EXPORT extern "C" 107 #define CSFML_API_IMPORT CSFML_EXTERN_C 143 #if defined(_MSC_VER) 144 typedef signed __int64
sfInt64;
152 #endif // SFML_CONFIG_H
unsigned long long sfUint64