Subject: Re: Visual Studio 6 compilation issues (libssh2 1.2.4)

Re: Visual Studio 6 compilation issues (libssh2 1.2.4)

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 9 Mar 2010 19:08:01 +0100

Neil Gierman wrote:
> in Win64 builds, size_t = unsigned __int64. Long = 4 bytes,
> __int64 = 8bytes
> (http://msdn.microsoft.com/en-us/library/s3f49ktz(VS.80).aspx).

unsigned long used to be *the* way to get the maximum length
CPU-native data type, until 64-bit Windows.. Thanks, Microsoft. :(

I'm not sure if we can deal with it without changing the API?

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-09