egl: also use X types for building on Apple/MacOS X

See bug 20413.
This commit is contained in:
Brian Paul
2009-09-08 09:20:39 -06:00
parent bf19638a00
commit 18bdb6e712

View 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