NVIDIA's glx.h file uses glx_h as the header barrier. This causes issues like http://crbug.com/41039 if the NVIDIA drivers have been installed.
Proposed change is to add
around line 15 of glew/auto/src/glxew_head.h
Proposed fix:
--- auto/src/glew_head.h (revision 595) +++ auto/src/glew_head.h (working copy) @@ -119,7 +119,12 @@ */
#include <stddef.h> + +#ifdef __sgi +#include <inttypes.h> +#else #include <stdint.h> +#endif
#define GLEW_APIENTRY_DEFINED #define APIENTRY
Fixed in svn as of revision 596.
Resolved in GLEW 1.5.4 release. Thanks for the report.
Proposed fix:
Index: auto/src/glew_head.h
--- auto/src/glew_head.h (revision 595)
+++ auto/src/glew_head.h (working copy)
@@ -119,7 +119,12 @@
*/
#include <stddef.h>
+
+#ifdef __sgi
+#include <inttypes.h>
+#else
#include <stdint.h>
+#endif
#define GLEW_APIENTRY_DEFINED
#define APIENTRY
Fixed in svn as of revision 596.
Resolved in GLEW 1.5.4 release.
Thanks for the report.