cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl + libssh2: strange error on Win64 (compiled using VS 2008)

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Wed, 29 Dec 2010 23:08:07 +0100

On Wed, Dec 29, 2010 at 10:42 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> Which Windows systems don't use int or __int64 for ssize_t?

It is about being pedantic. The type exists and should be used instead
of guessing what is behind it.

If mingw is causing issues with SSIZE_T then leave it as it is now for
mingw and use SSIZE_T for VC (adding a #else clause, that should solve
this problem. I can modify the patch to do so.

Cheers,

-- 
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-29