Loading...
Searching...
No Matches
Go to the documentation of this file.
31#define SFML_VERSION_MAJOR 3
32#define SFML_VERSION_MINOR 0
33#define SFML_VERSION_PATCH 0
34#define SFML_VERSION_IS_RELEASE false
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(__OpenBSD__)
92#define SFML_SYSTEM_OPENBSD
94#elif defined(__NetBSD__)
97#define SFML_SYSTEM_NETBSD
102#error This UNIX operating system is not supported by SFML library
109#error This operating system is not supported by SFML library
127#if !defined(SFML_STATIC)
129#if defined(SFML_SYSTEM_WINDOWS)
132#define SFML_API_EXPORT __declspec(dllexport)
133#define SFML_API_IMPORT __declspec(dllimport)
138#pragma warning(disable : 4251)
144#define SFML_API_EXPORT __attribute__((__visibility__("default")))
145#define SFML_API_IMPORT __attribute__((__visibility__("default")))
152#define SFML_API_EXPORT
153#define SFML_API_IMPORT