summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapioffsets.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-01-28 19:00:54 +0000
committerIan Romanick <[email protected]>2005-01-28 19:00:54 +0000
commit16c3c7401846bbc7c300e6a9b433584ec5b68699 (patch)
treeb34e784e5b84cf802a50fae6d1544aae4bd28b14 /src/mesa/glapi/glapioffsets.h
parent8d27148bbd13fbc8192f9c5aeeb9b39b92f1045d (diff)
Refactor the code to emit multiple-inclusion protection to
FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be used to generate multiple header files, add an option to specify the define that is used for multiple-inclusion protection. The changes to the header files in this commit are just a side-effect of the changes to the Python scripts.
Diffstat (limited to 'src/mesa/glapi/glapioffsets.h')
-rw-r--r--src/mesa/glapi/glapioffsets.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h
index c4431a79a58..4bb255ee5c0 100644
--- a/src/mesa/glapi/glapioffsets.h
+++ b/src/mesa/glapi/glapioffsets.h
@@ -26,8 +26,8 @@
* SOFTWARE.
*/
-#ifndef _GLAPI_OFFSETS_H_
-#define _GLAPI_OFFSETS_H_
+#if !defined( _GLAPI_OFFSETS_H_ )
+# define _GLAPI_OFFSETS_H_
#define _gloffset_NewList 0
#define _gloffset_EndList 1
@@ -829,4 +829,4 @@
#define _gloffset_StencilOpSeparate 797
#define _gloffset_StencilMaskSeparate 798
-#endif
+#endif /* !defined( _GLAPI_OFFSETS_H_ ) */