projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf19638
)
egl: also use X types for building on Apple/MacOS X
author
Brian Paul
<brianp@vmware.com>
Tue, 8 Sep 2009 15:20:39 +0000
(09:20 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 8 Sep 2009 15:20:43 +0000
(09:20 -0600)
See bug 20413.
include/EGL/eglplatform.h
patch
|
blob
|
history
diff --git
a/include/EGL/eglplatform.h
b/include/EGL/eglplatform.h
index 83e89cd7043533ecf68eeb5a93331f5949ad7c7c..9e83b600035e8774f01c1e94e384e982c1419784 100644
(file)
--- 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