Patch 2865218 - gl.h for SnowLeopard uses __X_GL_H rather than __gl_h_ or __GL_H__

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@565 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2009-12-03 05:46:19 +00:00
parent 23d0bc6157
commit 94a2390e65

View File

@ -2,7 +2,7 @@
#define __glew_h__ #define __glew_h__
#define __GLEW_H__ #define __GLEW_H__
#if defined(__gl_h_) || defined(__GL_H__) #if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H)
#error gl.h included before glew.h #error gl.h included before glew.h
#endif #endif
#if defined(__glext_h_) || defined(__GLEXT_H_) #if defined(__glext_h_) || defined(__GLEXT_H_)
@ -14,6 +14,7 @@
#define __gl_h_ #define __gl_h_
#define __GL_H__ #define __GL_H__
#define __X_GL_H
#define __glext_h_ #define __glext_h_
#define __GLEXT_H_ #define __GLEXT_H_
#define __gl_ATI_h_ #define __gl_ATI_h_