diff options
author | Ian Romanick <[email protected]> | 2005-01-28 19:00:54 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2005-01-28 19:00:54 +0000 |
commit | 16c3c7401846bbc7c300e6a9b433584ec5b68699 (patch) | |
tree | b34e784e5b84cf802a50fae6d1544aae4bd28b14 /src/mesa/glapi/glapitable.h | |
parent | 8d27148bbd13fbc8192f9c5aeeb9b39b92f1045d (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h index 48692540d58..be6ca81acbb 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_ ) */ |