--- a/eglplatform.h 2022-06-16 16:11:27.934535986 +0200 +++ b/eglplatform.h 2022-06-16 16:17:35.649358663 +0200 @@ -93,7 +93,7 @@ typedef struct egl_native_pixmap_t* EGLNativePixmapType; typedef void* EGLNativeDisplayType; -#elif defined(__unix__) +#elif defined(USE_X11) /* X11 (tentative) */ #include @@ -103,6 +103,12 @@ typedef Pixmap EGLNativePixmapType; typedef Window EGLNativeWindowType; +#elif defined(__unix__) + +typedef void *EGLNativeDisplayType; +typedef khronos_uintptr_t EGLNativePixmapType; +typedef khronos_uintptr_t EGLNativeWindowType; + #else #error "Platform not recognized" #endif