Ethereal-dev: Re: [Ethereal-dev] Errors in packet-windows-common.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 19 Aug 2004 02:08:30 -0700
Guy Harris wrote:

GLib 2.4[.x], at least, defines

    G_GINT64_CONSTANT(), which takes a constant and appends what I presume
is the appropriate suffix;

    G_GINT64_MODIFIER, which is presumably the appropriate modifier for
format strings.

I don't know whether GLib 1.2[.x], or earlier versions of GLib 2.x, define
them.

G_GINT64_CONSTANT() appears to be defined in 1.2[.x] (so it's probably defined in all 2.x releases).

G_GINT64_MODIFIER isn't - but we already look for that ourselves.

I've checked in a change to use G_GINT64_CONSTANT(); it builds on FreeBSD 3.4 with GLib 1.2.10, OS X 10.3.2 with GLib 2.x, and Win32 with MSVC++ and GLib 2.x.