32 #define CSFML_VERSION_MAJOR 2 33 #define CSFML_VERSION_MINOR 4 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__) 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 124 #if defined(CSFML_NO_DEPRECATED_WARNINGS) 127 #define CSFML_DEPRECATED 129 #elif defined(_MSC_VER) 134 #define CSFML_DEPRECATED __declspec(deprecated) 136 #elif defined(__GNUC__) 139 #define CSFML_DEPRECATED __attribute__ ((deprecated)) 145 #pragma message("CSFML_DEPRECATED is not supported for your compiler, please contact the CSFML team") 146 #define CSFML_DEPRECATED 179 #if defined(_MSC_VER) 180 typedef signed __int64
sfInt64;
188 #endif // SFML_CONFIG_H
unsigned long long sfUint64