www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

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

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Dec 2010 22:20:34 +0100 (CET)

On Wed, 29 Dec 2010, Pierre Joye wrote:

> I would say SSIZE_T, always on Windows. Both int or __int64 can be wrong.

I don't disagree that SSIZE_T might be the right answer, but I do have two
questions about that:

A) what header(s) would we need to include to be sure SSIZE_T is typedef'ed
and will those headers be the same on all known Windows compilers?

B) in which case is both int and __int64 wrong for ssize_t ?

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-29

the libssh2 team