aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-25 08:36:34 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-25 08:36:34 +0000
commit809bd53e813b4cae8c1d9120618a894fd50a25f9 (patch)
treee529edad4d649b7a50d6b089f8ccf3b251fe00af /acinclude.m4
parenta6b4a098ff0ac0f8c0aefea499d0eabc093f718d (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. svn path=/trunk/; revision=11513
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
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)