Pull in stdint.h here, if we have it. Some systems keep
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 29 Oct 2003 04:25:48 +0000 (04:25 +0000)
committerBrian 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

index 39939d6d0ae807e7229d066fd9295ef655ba44f7..4904bb31daa9d0243637896ec022d0d96ca3fa76 100644 (file)
 // 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