25 #ifndef SFML_CONFIG_HPP
26 #define SFML_CONFIG_HPP
32 #define SFML_VERSION_MAJOR 2
33 #define SFML_VERSION_MINOR 1
39 #if defined(_WIN32) || defined(__WIN32__)
42 #define SFML_SYSTEM_WINDOWS
47 #elif defined(linux) || defined(__linux)
50 #define SFML_SYSTEM_LINUX
52 #elif defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)
55 #define SFML_SYSTEM_MACOS
57 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
60 #define SFML_SYSTEM_FREEBSD
65 #error This operating system is not supported by SFML library
83 #if !defined(SFML_STATIC)
85 #if defined(SFML_SYSTEM_WINDOWS)
88 #define SFML_API_EXPORT __declspec(dllexport)
89 #define SFML_API_IMPORT __declspec(dllimport)
94 #pragma warning(disable : 4251)
98 #else // Linux, FreeBSD, Mac OS X
104 #define SFML_API_EXPORT __attribute__ ((__visibility__ ("default")))
105 #define SFML_API_IMPORT __attribute__ ((__visibility__ ("default")))
110 #define SFML_API_EXPORT
111 #define SFML_API_IMPORT
120 #define SFML_API_EXPORT
121 #define SFML_API_IMPORT
136 typedef signed char Int8;
137 typedef unsigned char Uint8;
140 typedef signed short Int16;
141 typedef unsigned short Uint16;
144 typedef signed int Int32;
145 typedef unsigned int Uint32;
148 #if defined(_MSC_VER)
149 typedef signed __int64 Int64;
150 typedef unsigned __int64 Uint64;
152 typedef signed long long Int64;
153 typedef unsigned long long Uint64;
159 #endif // SFML_CONFIG_HPP