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
This commit is contained in:
nigels 2010-04-27 22:06:09 +00:00
parent 8bcfc426f5
commit e0a61bc50f

View File

@ -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