Subject: Re: libssh2 master c585828... Fix gettimeofday to compile with Visual C++ 6.

Re: libssh2 master c585828... Fix gettimeofday to compile with Visual C++ 6.

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Fri, 12 Mar 2010 12:54:20 +0000

On 12 March 2010 12:50, Steven Van Ingelgem <steven_at_vaningelgem.be> wrote:
>
> On 12 March 2010 12:53, Alexander Lamaison <swish_at_lammy.co.uk> wrote:
>>
>> On 12 March 2010 11:37, Mikhail Gusarov <dottedmag_at_dottedmag.net> wrote:
>> >
>> > Twas brillig at 11:32:44 12.03.2010 UTC+00 when libssh2_at_git.stuge.se did
>> > gyre and gimble:
>> >
>> >  l> -    unsigned long long ns100; /*time since 1 Jan 1601 in 100ns
>> > units */
>> >  l> +    unsigned __int64 ns100; /*time since 1 Jan 1601 in 100ns units
>> > */
>> >
>> > Does it work with gcc now?
>>
>> I assume you mean when compiling with gcc on/for Windows?  Good point.
>>  Does Mingw etc. support __int64?
>
> _mingw.h: __int64 define to be long long. Using a
> typedef
> _mingw.h: doesn't work for "unsigned
> __int64"
> _mingw.h:# ifndef __int64
> _mingw.h:# define __int64 long long

Is _mingw.h included by default or do we have to do it explicitly?
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-12