summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glapitable.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/mesa/glapi/glapitable.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/glapitable.h')
-rw-r--r--src/mesa/glapi/glapitable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h
index 48692540d5..be6ca81acb 100644
--- a/src/mesa/glapi/glapitable.h
+++ b/src/mesa/glapi/glapitable.h
@@ -26,8 +26,8 @@
* SOFTWARE.
*/
-#ifndef _GLAPI_TABLE_H_
-#define _GLAPI_TABLE_H_
+#if !defined( _GLAPI_TABLE_H_ )
+# define _GLAPI_TABLE_H_
#ifndef GLAPIENTRYP
#define GLAPIENTRYP
@@ -836,4 +836,4 @@ struct _glapi_table
void (GLAPIENTRYP StencilMaskSeparate)(GLenum face, GLuint mask); /* 798 */
};
-#endif
+#endif /* !defined( _GLAPI_TABLE_H_ ) */