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
This commit is contained in:
nigels 2010-04-27 04:27:42 +00:00
parent 341b043b31
commit 8bcfc426f5

View File

@ -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 <X11/Xlib.h>
#include <X11/Xutil.h>