Mesa (master): egl: Allow compilation to succeed with FreeBSD

Brian Paul brianp at kemper.freedesktop.org
Wed Feb 25 14:58:49 UTC 2009


Module: Mesa
Branch: master
Commit: 161307f17889aed10a81935dd38f6ceeb2097109
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=161307f17889aed10a81935dd38f6ceeb2097109

Author: Benjamin Close <Benjamin.Close at clearchain.com>
Date:   Tue Feb 24 20:51:13 2009 -0800

egl: Allow compilation to succeed with FreeBSD

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




More information about the mesa-commit mailing list