mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
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:
parent
341b043b31
commit
8bcfc426f5
@ -5,13 +5,16 @@
|
|||||||
#ifdef __glxext_h_
|
#ifdef __glxext_h_
|
||||||
#error glxext.h included before glxew.h
|
#error glxext.h included before glxew.h
|
||||||
#endif
|
#endif
|
||||||
#ifdef GLX_H
|
|
||||||
|
#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__)
|
||||||
#error glx.h included before glxew.h
|
#error glx.h included before glxew.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __glxext_h_
|
#define __glxext_h_
|
||||||
#define __GLX_glx_h__
|
|
||||||
#define GLX_H
|
#define GLX_H
|
||||||
|
#define __GLX_glx_h__
|
||||||
|
#define __glx_h__
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user