From 0c060e1ccba4777f2be68bf4314f2dd418bd8c37 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 12 Apr 2007 22:08:42 +0000 Subject: [PATCH] added two more typedefs but blocked them so they are only used with MSVC6 or lower (dont know if later MSVC versions still need them). --- include/libssh2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libssh2.h b/include/libssh2.h index b4bf136..7e131c0 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -66,6 +66,10 @@ extern "C" { #if defined(LIBSSH2_WIN32) && defined(_MSC_VER) && (_MSC_VER < 1300) typedef unsigned __int64 libssh2_uint64_t; typedef __int64 libssh2_int64_t; +#if (_MSC_VER <= 1200) +typedef long ssize_t; +typedef unsigned int uint32_t; +#endif #else typedef unsigned long long libssh2_uint64_t; typedef long long libssh2_int64_t;