[SCM] C Bindings for the SFML Library branch, debian/kFreeBSD, updated. upstream/1.5-53-g43a675c
Christoph Egger
Christoph.Egger at gmx.de
Sat Dec 26 18:04:18 UTC 2009
The following commit has been merged in the debian/kFreeBSD branch:
commit 43a675c907bee96461d2525d5a678520c80f6df6
Author: Christoph Egger <Christoph.Egger at gmx.de>
Date: Sat Dec 26 12:56:06 2009 -0500
Missing check, handle FreeBSD as UNIX X11
diff --git a/CSFML/include/SFML/Config.h b/CSFML/include/SFML/Config.h
index 1cc5ca5..69dc9f3 100755
--- a/CSFML/include/SFML/Config.h
+++ b/CSFML/include/SFML/Config.h
@@ -47,7 +47,7 @@
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__)
// FreeBSD
- #define SFML_SYSTEM_FREEBSD
+ #define CSFML_SYSTEM_FREEBSD
#else
diff --git a/CSFML/include/SFML/Window/WindowHandle.h b/CSFML/include/SFML/Window/WindowHandle.h
index 78d5750..31d0eb7 100755
--- a/CSFML/include/SFML/Window/WindowHandle.h
+++ b/CSFML/include/SFML/Window/WindowHandle.h
@@ -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;
--
C Bindings for the SFML Library
More information about the Pkg-games-commits
mailing list