From e0a61bc50fb28ecc28748e098b292a6e3b0fe206 Mon Sep 17 00:00:00 2001 From: nigels Date: Tue, 27 Apr 2010 22:06:09 +0000 Subject: [PATCH] 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 --- auto/src/glew_head.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index 0dcaabd..ed49f50 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -119,7 +119,14 @@ typedef _W64 int ptrdiff_t; */ #include + +/* SGI MIPSPro doesn't like stdint.h in C++ mode */ + +#if defined(__sgi) && !defined(__GNUC__) +#include +#else #include +#endif #define GLEW_APIENTRY_DEFINED #define APIENTRY