summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorguy <guy>2004-04-17 08:44:49 +0000
committerguy <guy>2004-04-17 08:44:49 +0000
commitfaf8160c18545f4c508a1be179b89c39c6645c7e (patch)
tree3d08df2187ad10594a187d553ea0b19e75914e95 /config.h.in
parent1875b8ffe1dd76012ee876094ffc85382cc810ea (diff)
downloadtcpdump-faf8160c18545f4c508a1be179b89c39c6645c7e.tar.gz
Second stage of adding support for 64-bit integral data types - this
causes the configure script to attempt to define the PRI[doux]64 macros if they're not defined by including <inttypes.h>, and causes "missing/bittypes.h" to attempt to define them, if undefined, in a fashion that should, with any luck, work on MSVC++ and various flavors of GNU C on Windows. Fix the spelling of "Mac OS X".
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index d6fc8ddb..58cff19c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -21,6 +21,8 @@
/* define if your struct __res_state has the nsort member */
#undef HAVE_NEW_RES_STATE
+/* define if <inttypes.h> defines PRI[doxu]64 macros */
+#undef INTTYPES_H_DEFINES_FORMATS
/*
* define if struct ether_header.ether_dhost is a struct with ether_addr_octet
@@ -113,6 +115,12 @@
#undef u_int32_t
#undef u_int64_t
+/* Workaround for missing 64-bit formats */
+#undef PRId64
+#undef PRIo64
+#undef PRIx64
+#undef PRIu64
+
/* Whether or not to include the possibly-buggy SMB printer */
#undef TCPDUMP_DO_SMB