egl: Allow compilation to succeed with FreeBSD
authorBenjamin Close <Benjamin.Close@clearchain.com>
Wed, 25 Feb 2009 04:51:13 +0000 (20:51 -0800)
committerBrian Paul <brianp@vmware.com>
Wed, 25 Feb 2009 14:53:26 +0000 (07:53 -0700)
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
include/EGL/eglplatform.h

index 02c3b94bd8af284bf8a638f4329cc4ae9e0f4577..d873428d756e5fa96f74a7cef5410ca38b817f99 100644 (file)
@@ -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