summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapitemp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glapitemp.h')
-rw-r--r--src/mesa/glapi/glapitemp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h
index 21523f277af..62bb9303c90 100644
--- a/src/mesa/glapi/glapitemp.h
+++ b/src/mesa/glapi/glapitemp.h
@@ -26,6 +26,7 @@
*/
+#if defined( NAME )
#ifndef KEYWORD1
#define KEYWORD1
#endif
@@ -34,10 +35,6 @@
#define KEYWORD2
#endif
-#ifndef NAME
-#error NAME must be defined
-#endif
-
#ifndef DISPATCH
#error DISPATCH must be defined
#endif
@@ -4778,6 +4775,7 @@ KEYWORD1 void KEYWORD2 NAME(BlendEquationSeparateATI)(GLenum modeRGB, GLenum mod
}
+#endif /* defined( NAME ) */
/*
* This is how a dispatch table can be initialized with all the functions