mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 08:31:56 +00:00
Resolve ID: 3376260 Solaris also needs inttypes.h
This commit is contained in:
parent
852e9ccd2d
commit
2d17ae18b3
@ -122,8 +122,9 @@ typedef _W64 int ptrdiff_t;
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
/* SGI MIPSPro doesn't like stdint.h in C++ mode */
|
/* SGI MIPSPro doesn't like stdint.h in C++ mode */
|
||||||
|
/* ID: 3376260 Solaris 9 has inttypes.h, but not stdint.h */
|
||||||
|
|
||||||
#if defined(__sgi) && !defined(__GNUC__)
|
#if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__)
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user