summaryrefslogtreecommitdiff
path: root/include/EGL
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-08 09:20:39 -0600
committerBrian Paul <brianp@vmware.com>2009-09-08 09:20:43 -0600
commit18bdb6e712d43632dcd2e73cea68e0b2953fe62e (patch)
treec1a5b86e648372bcb4e224cc2993ba5d02916592 /include/EGL
parentbf19638a003f0915d3d5419b737c2006a8f24a31 (diff)
egl: also use X types for building on Apple/MacOS X
See bug 20413.
Diffstat (limited to 'include/EGL')
-rw-r--r--include/EGL/eglplatform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 83e89cd704..9e83b60003 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -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