mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
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:
parent
8bcfc426f5
commit
e0a61bc50f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user