[PATCH] egl: Allow compilation to succeed with FreeBSD
Benjamin Close
Benjamin.Close at clearchain.com
Tue Feb 24 20:51:13 PST 2009
Signed-off-by: Benjamin Close <Benjamin.Close at clearchain.com>
---
include/EGL/eglplatform.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 02c3b94..d873428 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -68,7 +68,7 @@ typedef HWND NativeWindowType;
typedef HBITMAP NativePixmapType;
/** END Added for Windows **/
-#elif defined(__gnu_linux__)
+#elif defined(__gnu_linux__) || defined(__FreeBSD__)
/** BEGIN Added for X (Mesa) **/
#ifndef EGLAPI
--
1.6.0.2
More information about the xorg
mailing list