diff options
author | John Criswell <criswell@uiuc.edu> | 2004-09-24 13:28:51 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-09-24 13:28:51 +0000 |
commit | 5fbb1f8fccd7226d7cd83442570856fcc9a7bf8e (patch) | |
tree | 66a52dcea53738c2fa1fee0d002fe718f1c77ca3 /include | |
parent | 648e3bc39cfa750b1bef6594c6add81da7642c74 (diff) | |
download | llvm-5fbb1f8fccd7226d7cd83442570856fcc9a7bf8e.tar.gz llvm-5fbb1f8fccd7226d7cd83442570856fcc9a7bf8e.tar.bz2 llvm-5fbb1f8fccd7226d7cd83442570856fcc9a7bf8e.tar.xz |
Configure Datatypes.h.in with AC_CONFIG_HEADERS. This should prevent it
from being re-generated if the new version is identical to the old version.
Hence, it should save us some recompiling after re-configures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/DataTypes.h.in | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in index 6b3aee8ce6..ca02a01571 100644 --- a/include/llvm/Support/DataTypes.h.in +++ b/include/llvm/Support/DataTypes.h.in @@ -31,11 +31,23 @@ # error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h" #endif +#undef HAVE_SYS_TYPES_H +#undef HAVE_INTTYPES_H +#undef HAVE_STDINT_H + #ifndef _MSC_VER // Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. -@INCLUDE_INTTYPES_H@ -@INCLUDE_SYS_TYPES_H@ -@INCLUDE_STDINT_H@ +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif + +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif // Handle incorrect definition of uint64_t as u_int64_t #ifndef HAVE_UINT64_T |