mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 16:53:49 +00:00
Check for __REGAL_H__ in addition to __GL_H__ etc
This commit is contained in:
parent
b850a88492
commit
126f14f960
@ -5,6 +5,9 @@
|
|||||||
#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_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(__REGAL_H__)
|
||||||
|
#error Regal.h included before glew.h
|
||||||
|
#endif
|
||||||
#if defined(__glext_h_) || defined(__GLEXT_H_)
|
#if defined(__glext_h_) || defined(__GLEXT_H_)
|
||||||
#error glext.h included before glew.h
|
#error glext.h included before glew.h
|
||||||
#endif
|
#endif
|
||||||
@ -14,6 +17,7 @@
|
|||||||
|
|
||||||
#define __gl_h_
|
#define __gl_h_
|
||||||
#define __GL_H__
|
#define __GL_H__
|
||||||
|
#define __REGAL_H__
|
||||||
#define __X_GL_H
|
#define __X_GL_H
|
||||||
#define __glext_h_
|
#define __glext_h_
|
||||||
#define __GLEXT_H_
|
#define __GLEXT_H_
|
||||||
|
Loading…
Reference in New Issue
Block a user