summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Makefile4
-rw-r--r--src/mesa/main/es_generator.py3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 3bb2f39475b..4f81768924a 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -17,8 +17,8 @@ ES1_OBJ_DIR := objs-es1
ES2_OBJ_DIR := objs-es2
MESA_CPPFLAGS := $(API_DEFINES)
-ES1_CPPFLAGS := -DFEATURE_ES1=1 -D__GL_EXPORTS
-ES2_CPPFLAGS := -DFEATURE_ES2=1 -D__GL_EXPORTS
+ES1_CPPFLAGS := -DFEATURE_ES1=1
+ES2_CPPFLAGS := -DFEATURE_ES2=1
include sources.mak
diff --git a/src/mesa/main/es_generator.py b/src/mesa/main/es_generator.py
index a3e089ed58e..9a8f5a6f5e0 100644
--- a/src/mesa/main/es_generator.py
+++ b/src/mesa/main/es_generator.py
@@ -203,9 +203,6 @@ print """
typedef double GLdouble;
typedef double GLclampd;
-/* This type is normally in glext.h, but needed here */
-typedef char GLchar;
-
/* Mesa error handling requires these */
extern void *_mesa_get_current_context(void);
extern void _mesa_error(void *ctx, GLenum error, const char *fmtString, ... );