Re: Build fix for win32 with vc

From: J.M. Maurer <j.m.maurer_at_student.utwente.nl>
Date: Mon Aug 01 2005 - 00:39:52 CEST

On Sun, 2005-07-31 at 22:16 +0200, Jordi Mas wrote:
> Hello Marc,
>
> I cannot compile HEAD using VC. The problem is that VC does not support LL to
> indicate long long. Here is a patch that fixes the problem.

grrr... and gcc can't compile it without LL ... Looks like i must ifdef
it. Thanks for the report!

Marc

> Regards,
>
> Jordi,
> plain text document attachment (ut_Win32Misc.diff)
> ? ut_Win32Misc.diff
> ? vc60.pdb
> Index: ut_Win32Misc.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/af/util/win/ut_Win32Misc.cpp,v
> retrieving revision 1.13
> diff -u -r1.13 ut_Win32Misc.cpp
> --- ut_Win32Misc.cpp 24 Jul 2005 18:12:56 -0000 1.13
> +++ ut_Win32Misc.cpp 31 Jul 2005 20:13:27 -0000
> @@ -44,7 +44,7 @@
>
> ULARGE_INTEGER _100ns = {ft.dwLowDateTime,ft.dwHighDateTime};
>
> - _100ns.QuadPart -= 0x19db1ded53e8000ULL;
> + _100ns.QuadPart -= 0x19db1ded53e8000U;
>
> tv->tv_sec = long (_100ns.QuadPart / (10000 * 1000));
> tv->tv_usec = (long) ((_100ns.LowPart % (DWORD) (10000 * 1000)) / 10);
>
Received on Mon Aug 1 00:36:30 2005

This archive was generated by hypermail 2.1.8 : Mon Aug 01 2005 - 00:36:30 CEST