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:
90eca55
)
Remove __STDC_LIMIT_MACROS from here.
author
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 28 Oct 2003 19:11:29 +0000
(19:11 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Tue, 28 Oct 2003 19:11:29 +0000
(19:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9550
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 e2a08ea2ad437a220014ea9d4ea175696d03abb6..39939d6d0ae807e7229d066fd9295ef655ba44f7 100644
(file)
--- a/
include/Support/DataTypes.h
+++ b/
include/Support/DataTypes.h
@@
-25,7
+25,10
@@
#include "Config/config.h"
-#define __STDC_LIMIT_MACROS 1
+// Note that this header's correct operation depends on __STDC_LIMIT_MACROS
+// being defined. We would define it here, but in order to prevent Bad Things
+// 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_INTTYPES_H
#include <inttypes.h>