projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11911ab
)
Pull in stdint.h here, if we have it. Some systems keep
author
Brian Gaeke
<gaeke@uiuc.edu>
Wed, 29 Oct 2003 04:25:48 +0000
(
04:25
+0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Wed, 29 Oct 2003 04:25:48 +0000
(
04:25
+0000)
the INT*_MAX macros there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9577
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/Support/DataTypes.h
patch
|
blob
|
history
diff --git
a/include/Support/DataTypes.h
b/include/Support/DataTypes.h
index 39939d6d0ae807e7229d066fd9295ef655ba44f7..4904bb31daa9d0243637896ec022d0d96ca3fa76 100644
(file)
--- a/
include/Support/DataTypes.h
+++ b/
include/Support/DataTypes.h
@@
-30,6
+30,10
@@
// happening when system headers or C++ STL headers include stdint.h before
// we define it here, we define it on the g++ command line (in Makefile.rules).
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif