summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl/EGL/eglplatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/egl/EGL/eglplatform.h')
-rw-r--r--make/stub_includes/egl/EGL/eglplatform.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/make/stub_includes/egl/EGL/eglplatform.h b/make/stub_includes/egl/EGL/eglplatform.h
index 6d34ab55d..ada816521 100644
--- a/make/stub_includes/egl/EGL/eglplatform.h
+++ b/make/stub_includes/egl/EGL/eglplatform.h
@@ -94,7 +94,13 @@ typedef Pixmap EGLNativePixmapType;
typedef Window EGLNativeWindowType;
#else
-#error "Platform not recognized"
+
+#warning "Info: Platform not recognized, using void pointer for EGLNativeDisplayType, EGLNativeWindowType and EGLNativePixmapType"
+
+typedef void* EGLNativeDisplayType;
+typedef void* EGLNativeWindowType;
+typedef void* EGLNativePixmapType;
+
#endif
/* EGL 1.2 types, renamed for consistency in EGL 1.3 */