This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Confirming this.
It appears to be an Apple invention.
/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/GL/gl.h
ifndef __X_GL_H
define __X_GL_H
...
Proposed patch:
Index: auto/src/glew_head.h
--- auto/src/glew_head.h (revision 564)
+++ auto/src/glew_head.h (working copy)
@@ -2,7 +2,7 @@
#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
#endif
#if defined(glext_h_) || defined(__GLEXT_H_)
@@ -14,6 +14,7 @@
#define gl_h_
#define GL_H
+#define X_GL_H
#define glext_h_
#define GLEXT_H_
#define __gl_ATI_h_
Fixed in revision 565.
Thanks for the report.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).