From: Brian Paul Date: Tue, 8 Sep 2009 15:20:39 +0000 (-0600) Subject: egl: also use X types for building on Apple/MacOS X X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18bdb6e712d43632dcd2e73cea68e0b2953fe62e;p=mesa.git egl: also use X types for building on Apple/MacOS X See bug 20413. --- 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