summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-12-05 15:24:05 -0800
committerIan Romanick <[email protected]>2011-12-13 16:07:17 -0800
commitaf50f3bf4415c868259ce8ee5a0fe344f3539ecc (patch)
tree04cb510e2272c3cb070ec6e9e3a20574d3dda1f1 /src/mapi/glapi/gen
parent2e168758738fae3998090d41471aeb5b13887f80 (diff)
glapi/glx: Generate dispatch.h so that the xserver can use it
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/gl_table.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py
index f6182b60bc3..7f3b91513fe 100644
--- a/src/mapi/glapi/gen/gl_table.py
+++ b/src/mapi/glapi/gen/gl_table.py
@@ -92,7 +92,11 @@ class PrintRemapTable(gl_XML.gl_print_base):
* named function in the specified dispatch table.
*/
+/* GLXEXT is defined when building the GLX extension in the xserver.
+ */
+#if !defined(GLXEXT)
#include "main/mfeatures.h"
+#endif
"""
return