[llvm-commits] CVS: llvm/include/Support/DataTypes.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Oct 28 13:12:02 PST 2003
Changes in directory llvm/include/Support:
DataTypes.h updated: 1.15 -> 1.16
---
Log message:
Remove __STDC_LIMIT_MACROS from here.
---
Diffs of the changes: (+4 -1)
Index: llvm/include/Support/DataTypes.h
diff -u llvm/include/Support/DataTypes.h:1.15 llvm/include/Support/DataTypes.h:1.16
--- llvm/include/Support/DataTypes.h:1.15 Mon Oct 20 14:46:57 2003
+++ llvm/include/Support/DataTypes.h Tue Oct 28 13:11:29 2003
@@ -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>
More information about the llvm-commits
mailing list