mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
Fixed compilation with current mesa versions.
As you can see in https://cgit.freedesktop.org/mesa/mesa/tree/include/GL/glext.h now the file uses __gl_glext_h_ instead of __glext_h_ It's precisely caused by commit f7d42ee7d319256608ad60778f6787c140badada
This commit is contained in:
parent
c63cdf976d
commit
7f65a36866
@ -14,7 +14,7 @@
|
|||||||
#if defined(__REGAL_H__)
|
#if defined(__REGAL_H__)
|
||||||
#error Regal.h included before glew.h
|
#error Regal.h included before glew.h
|
||||||
#endif
|
#endif
|
||||||
#if defined(__glext_h_) || defined(__GLEXT_H_)
|
#if defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gl_glext_h_)
|
||||||
#error glext.h included before glew.h
|
#error glext.h included before glew.h
|
||||||
#endif
|
#endif
|
||||||
#if defined(__gl_ATI_h_)
|
#if defined(__gl_ATI_h_)
|
||||||
@ -30,6 +30,7 @@
|
|||||||
#define __X_GL_H
|
#define __X_GL_H
|
||||||
#define __glext_h_
|
#define __glext_h_
|
||||||
#define __GLEXT_H_
|
#define __GLEXT_H_
|
||||||
|
#define __gl_glext_h_
|
||||||
#define __gl_ATI_h_
|
#define __gl_ATI_h_
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user