mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
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:
parent
58ac24cf5c
commit
38b7f7d09f
@ -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_
|
||||
|
Loading…
Reference in New Issue
Block a user