OSDN Git Service

egl: also use X types for building on Apple/MacOS X
authorBrian Paul <brianp@vmware.com>
Tue, 8 Sep 2009 15:20:39 +0000 (09:20 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 8 Sep 2009 15:20:43 +0000 (09:20 -0600)
See bug 20413.

include/EGL/eglplatform.h

index 83e89cd..9e83b60 100644 (file)
@@ -69,7 +69,8 @@ typedef HWND  NativeWindowType;
 typedef HBITMAP NativePixmapType;
 /** END Added for Windows **/
 
-#elif defined(__gnu_linux__) || defined(__FreeBSD__) || defined(__sun)
+#elif defined(__gnu_linux__) || defined(__FreeBSD__) || defined(__sun) || defined(__APPLE__)
+
 
 /** BEGIN Added for X (Mesa) **/
 #ifndef EGLAPI