From 18bdb6e712d43632dcd2e73cea68e0b2953fe62e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 8 Sep 2009 09:20:39 -0600 Subject: egl: also use X types for building on Apple/MacOS X See bug 20413. --- include/EGL/eglplatform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 83e89cd7043..9e83b600035 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 -- cgit v1.2.3