From 16c3c7401846bbc7c300e6a9b433584ec5b68699 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 28 Jan 2005 19:00:54 +0000 Subject: 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. --- src/mesa/glapi/glapioffsets.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/glapi/glapioffsets.h') 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_ ) */ -- cgit v1.2.3