Subject: [libssh2] [ libssh2-Bugs-1701782 ] _MSC_VER==1310 and ssize_t etc.

[libssh2] [ libssh2-Bugs-1701782 ] _MSC_VER==1310 and ssize_t etc.

From: <>
Date: Thu, 28 Jun 2007 14:11:58 -0700

Bugs item #1701782, was opened at 2007-04-16 22:10
Message generated for change (Comment added) made by bagder
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eberhard Mattes (em1)
>Assigned to: Daniel Stenberg (bagder)
Summary: _MSC_VER==1310 and ssize_t etc.

Initial Comment:
The test for _MSC_VER in libssh2.h of 0.15-20070413 is wrong, compilation breaks for _MSC_VER==1310. That version of MSVC++ needs these type definitions:

typedef long ssize_t;
typedef unsigned int uint32_t;
typedef unsigned long long libssh2_uint64_t;
typedef long long libssh2_int64_t;


>Comment By: Daniel Stenberg (bagder)
Date: 2007-06-28 23:11

Logged In: YES
Originator: NO

Can you please provide a complete patch that corrects the existing check
and adds working code for your version?


You can respond by visiting:

This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
libssh2-devel mailing list
Received on 2007-06-28