cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ssize_t: libcurl vs libssh2

From: Guenter Knauf <eflash_at_gmx.net>
Date: Tue, 18 Sep 2007 20:10:03 +0200

Hi Daniel,
> What about my question about helping out to fix the warnings?
I've just checked the MSVC6 headers, and there I find this:

#ifndef _SIZE_T_DEFINED
typedef unsigned int size_t;
#define _SIZE_T_DEFINED
#endif

so according to that I'll change libssh2.h now to:

#ifndef _SSIZE_T_DEFINED
typedef int ssize_t;
#define _SSIZE_T_DEFINED
#endif

and will insert same into libcurl.

Guen.
Received on 2007-09-18