projects
/
summerhack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first attempt to build on the octane, nosound for now
[summerhack]
/
src
/
3dengfx
/
src
/
common
/
types.h
diff --git
a/src/3dengfx/src/common/types.h
b/src/3dengfx/src/common/types.h
index
c710eda
..
24d0310
100644
(file)
--- a/
src/3dengfx/src/common/types.h
+++ b/
src/3dengfx/src/common/types.h
@@
-36,7
+36,7
@@
typedef double scalar_t;
#define HAVE_STDINT_H
#endif /* explicitly set stdint.h availability for some platform */
#define HAVE_STDINT_H
#endif /* explicitly set stdint.h availability for some platform */
-#if (__STDC_VERSION__ >= 199900) || defined(__GLIBC__) || defined(HAVE_STDINT_H)
+#if (__STDC_VERSION__ >= 199900) || defined(__GLIBC__) || defined(HAVE_STDINT_H) && !defined(__sgi__)
#include <stdint.h>
#elif defined(unix) || defined(__unix__)
#include <sys/types.h>
#include <stdint.h>
#elif defined(unix) || defined(__unix__)
#include <sys/types.h>