Ethereal-dev: Re: [ethereal-dev] Win32 DLL Plugin code

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 7 Feb 2000 10:22:16 -0600
On Thu, Feb 03, 2000 at 01:41:11PM -0600, Guy Harris wrote:
> 
> 
> > 
> --------------------------------------------------------------------------
> > +#ifdef WIN32
> > +     unsigned __int64        lnglng;
> > +#else
> > +     unsigned long long int  lnglng;
> > +#endif
> > 
> --------------------------------------------------------------------------
> >
> >
> > Guy was right; MSVC 6.0 has __int64
> 
> Another alternative, though, might be to do
> 
>         #ifdef G_HAVE_GINT64
>         guint64 lnglng;
>         #else
>         #error "Sorry, this won't compile without 64-bit integer support"
>         #endif
> 
> or something such as that, *if* the Win32 port of GLib defines "gint64"
> and "guint64" appropriately.

Yes, luckily it does.
 
--gilbert