Commit e0a61bc5 authored by nigels's avatar nigels
Browse files

Fix for bug 2990476 - including glew.h fails with SGI MIPSPro CC

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@597 783a27ee-832a-0410-bc00-9f386506c6dd
parent 8bcfc426
......@@ -119,7 +119,14 @@ typedef _W64 int ptrdiff_t;
*/
#include <stddef.h>
/* SGI MIPSPro doesn't like stdint.h in C++ mode */
#if defined(__sgi) && !defined(__GNUC__)
#include <inttypes.h>
#else
#include <stdint.h>
#endif
#define GLEW_APIENTRY_DEFINED
#define APIENTRY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment