[PATCH v2 02/18] make GLES/glext.hpp guard macro name unique

Imre Deak imre.deak at intel.com
Tue May 15 07:10:57 PDT 2012


We want to include both GL/glext.hpp and GLES/glext.hpp but they are
guarded using the same macro name. Make them unique.

Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 thirdparty/khronos/GLES/glext.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thirdparty/khronos/GLES/glext.h b/thirdparty/khronos/GLES/glext.h
index d591832..700397c 100644
--- a/thirdparty/khronos/GLES/glext.h
+++ b/thirdparty/khronos/GLES/glext.h
@@ -1,5 +1,5 @@
-#ifndef __glext_h_
-#define __glext_h_
+#ifndef _GLES_GLEXT_H_
+#define _GLES_GLEXT_H_
 
 /* $Revision: 16481 $ on $Date:: 2012-01-04 10:43:56 -0800 #$ */
 
-- 
1.7.5.4



More information about the apitrace mailing list