mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55: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>
|
#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>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define GLEW_APIENTRY_DEFINED
|
#define GLEW_APIENTRY_DEFINED
|
||||||
#define APIENTRY
|
#define APIENTRY
|
||||||
|
Loading…
Reference in New Issue
Block a user