summaryrefslogtreecommitdiff
path: root/src/glx/x11/indirect_size.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-01-28 19:00:54 +0000
committerIan Romanick <idr@us.ibm.com>2005-01-28 19:00:54 +0000
commit16c3c7401846bbc7c300e6a9b433584ec5b68699 (patch)
treeb34e784e5b84cf802a50fae6d1544aae4bd28b14 /src/glx/x11/indirect_size.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/glx/x11/indirect_size.h')
-rw-r--r--src/glx/x11/indirect_size.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/glx/x11/indirect_size.h b/src/glx/x11/indirect_size.h
index 833e95b241..2001c56c4e 100644
--- a/src/glx/x11/indirect_size.h
+++ b/src/glx/x11/indirect_size.h
@@ -25,6 +25,8 @@
* SOFTWARE.
*/
+#if !defined( _INDIRECT_SIZE_H_ )
+# define _INDIRECT_SIZE_H_
/**
* \file
@@ -34,10 +36,6 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
-#if !defined( _GLXSIZE_H_ )
-# define _GLXSIZE_H_
-
-
# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
# define PURE __attribute__((pure))
# else
@@ -86,4 +84,5 @@ extern INTERNAL PURE FASTCALL GLint __glPointParameterivNV_size(GLenum);
# undef INTERNAL
# undef PURE
# undef FASTCALL
-#endif /* !defined( _GLXSIZE_H_ ) */
+
+#endif /* !defined( _INDIRECT_SIZE_H_ ) */