[llvm-commits] CVS: llvm/include/Support/DataTypes.h

Brian Gaeke gaeke at cs.uiuc.edu
Tue Oct 28 22:26:01 PST 2003


Changes in directory llvm/include/Support:

DataTypes.h updated: 1.16 -> 1.17

---
Log message:

Pull in stdint.h here, if we have it. Some systems keep
the INT*_MAX macros there.


---
Diffs of the changes:  (+4 -0)

Index: llvm/include/Support/DataTypes.h
diff -u llvm/include/Support/DataTypes.h:1.16 llvm/include/Support/DataTypes.h:1.17
--- llvm/include/Support/DataTypes.h:1.16	Tue Oct 28 13:11:29 2003
+++ llvm/include/Support/DataTypes.h	Tue Oct 28 22:25:48 2003
@@ -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





More information about the llvm-commits mailing list