summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/egl')
-rw-r--r--make/stub_includes/egl/window-system-ext.c4
-rw-r--r--make/stub_includes/egl/window-system1.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/make/stub_includes/egl/window-system-ext.c b/make/stub_includes/egl/window-system-ext.c
index 7398847ac..3e0d705f3 100644
--- a/make/stub_includes/egl/window-system-ext.c
+++ b/make/stub_includes/egl/window-system-ext.c
@@ -1,7 +1,9 @@
-#define USE_GLUEGEN
+#define EGLAPI
+#define EGLAPIENTRY
// Define EGL_EGLEXT_PROTOTYPES so that the EGL extension prototypes in
// "eglext.h" are parsed.
#define EGL_EGLEXT_PROTOTYPES
+#include <EGL/egl.h>
#include <EGL/eglext.h>
diff --git a/make/stub_includes/egl/window-system1.c b/make/stub_includes/egl/window-system1.c
index fbd0f0cde..630ae5339 100644
--- a/make/stub_includes/egl/window-system1.c
+++ b/make/stub_includes/egl/window-system1.c
@@ -1,2 +1,4 @@
-#define USE_GLUEGEN
+#define EGLAPI
+#define EGLAPIENTRY
+
#include <EGL/egl.h>