diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-25 08:36:34 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-07-25 08:36:34 +0000 |
commit | 480a0ea5fb2b0d7a3bfc7853527e8472b7fdd48a (patch) | |
tree | e529edad4d649b7a50d6b089f8ccf3b251fe00af /acinclude.m4 | |
parent | bb1c8ad70e96b9126c74b331474654a3dfc4359d (diff) |
Use the GLib gint64 and guint64 types instead of u_int64_t or uint64_t,
as those are what's used in Ethereal for 64-bit integers, and as there's
no guarantee that either of them will be defined on any particular
platform.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11513 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 035c683b56..0c425681a4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -106,12 +106,13 @@ AC_DEFUN([AC_ETHEREAL_CHECK_64BIT_FORMAT], # ifdef HAVE_INTTYPES_H #include <inttypes.h> # endif + #include <glib.h> #include <stdio.h> #include <sys/types.h> main() { - u_int64_t t = 1; + guint64 t = 1; char strbuf[16+1]; sprintf(strbuf, "%016$1x", t << 32); if (strcmp(strbuf, "0000000100000000") == 0) |