In glew.h, check for __gltypes_h_ and define it avoid glew.h conflicts with Mac OpenGL.framework/Headers/gltypes.h

#206 Different definitions of GLhandleARB in GLEW and OS X headers
This commit is contained in:
Nigel Stewart 2012-11-11 11:53:21 -06:00
parent 58ac24cf5c
commit 38b7f7d09f

View File

@ -8,6 +8,9 @@
#if defined(__gl2_h_)
#error gl2.h included before glew.h
#endif
#if defined(__gltypes_h_)
#error gltypes.h included before glew.h
#endif
#if defined(__REGAL_H__)
#error Regal.h included before glew.h
#endif
@ -21,6 +24,7 @@
#define __gl_h_
#define __gl2_h_
#define __GL_H__
#define __gltypes_h_
#define __REGAL_H__
#define __X_GL_H
#define __glext_h_