Created attachment 115468 [details] egl: use unix defines on osx with clang CC egl_dri2.lo In file included from egl_dri2.c:53: In file included from ./egl_dri2.h:69: In file included from ../../../../src/egl/main/eglconfig.h:39: In file included from ../../../../src/egl/main/egltypedefs.h:36: In file included from ../../../../include/EGL/egl.h:36: ../../../../include/EGL/eglplatform.h:135:2: error: "Platform not recognized" #error "Platform not recognized" ^ ../../../../include/EGL/eglplatform.h:140:9: error: unknown type name 'EGLNativeDisplayType' typedef EGLNativeDisplayType NativeDisplayType; ^ ../../../../include/EGL/eglplatform.h:141:9: error: unknown type name 'EGLNativePixmapType' typedef EGLNativePixmapType NativePixmapType; ^ ../../../../include/EGL/eglplatform.h:142:9: error: unknown type name 'EGLNativeWindowType' typedef EGLNativeWindowType NativeWindowType;
Created attachment 116373 [details] egl: use unix defines on osx with clang
It might be better to send the patch to mesa-dev for review.
As requested on the ML an upstream bug is opened with Khronos. Please keep us posted on the progress. Meanwhile I've pushed this to master.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.