Resolve ID: 3376260 Solaris also needs inttypes.h

This commit is contained in:
Nigel Stewart 2011-08-02 13:23:50 -04:00
parent 852e9ccd2d
commit 2d17ae18b3

View File

@ -121,9 +121,10 @@ typedef _W64 int ptrdiff_t;
#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>
#else
#include <stdint.h>