Added detection of FreeBSD in CSFML's config.h
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1229 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
b7f7ac7f1a
commit
58db9f25b1
@ -44,6 +44,11 @@
|
||||
// MacOS
|
||||
#define CSFML_SYSTEM_MACOS
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
|
||||
// FreeBSD
|
||||
#define CSFML_SYSTEM_FREEBSD
|
||||
|
||||
#else
|
||||
|
||||
// Unsupported system
|
||||
|
@ -40,7 +40,7 @@
|
||||
// Windows defines a void* handle (HWND)
|
||||
typedef void* sfWindowHandle;
|
||||
|
||||
#elif defined(CSFML_SYSTEM_LINUX)
|
||||
#elif defined(CSFML_SYSTEM_LINUX) || defined(CSFML_SYSTEM_FREEBSD)
|
||||
|
||||
// Unix - X11 defines an unsigned integer handle (Window)
|
||||
typedef unsigned long sfWindowHandle;
|
||||
|
Loading…
Reference in New Issue
Block a user