[llvm-commits] CVS: llvm/include/llvm/Support/DataTypes.h.in
John Criswell
criswell at cs.uiuc.edu
Fri Sep 24 06:29:08 PDT 2004
Changes in directory llvm/include/llvm/Support:
DataTypes.h.in updated: 1.9 -> 1.10
---
Log message:
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.
---
Diffs of the changes: (+15 -3)
Index: llvm/include/llvm/Support/DataTypes.h.in
diff -u llvm/include/llvm/Support/DataTypes.h.in:1.9 llvm/include/llvm/Support/DataTypes.h.in:1.10
--- llvm/include/llvm/Support/DataTypes.h.in:1.9 Fri Sep 3 14:46:43 2004
+++ llvm/include/llvm/Support/DataTypes.h.in Fri Sep 24 08:28:49 2004
@@ -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.
- at INCLUDE_INTTYPES_H@
- at INCLUDE_SYS_TYPES_H@
- at 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
More information about the llvm-commits
mailing list