From 8bcfc426f57972e4d8ea9ccdec2893d26dc3e5b6 Mon Sep 17 00:00:00 2001 From: nigels Date: Tue, 27 Apr 2010 04:27:42 +0000 Subject: [PATCH] Fix for issue 2992222 - NVIDIA glx headers use a different CPP barrier git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@596 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/src/glxew_head.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/auto/src/glxew_head.h b/auto/src/glxew_head.h index 56b481a..16fdfa4 100644 --- a/auto/src/glxew_head.h +++ b/auto/src/glxew_head.h @@ -5,13 +5,16 @@ #ifdef __glxext_h_ #error glxext.h included before glxew.h #endif -#ifdef GLX_H + +#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__) #error glx.h included before glxew.h #endif #define __glxext_h_ -#define __GLX_glx_h__ + #define GLX_H +#define __GLX_glx_h__ +#define __glx_h__ #include #include