From b53db3d3a9d359d650344991aaee229e8cfa2324 Mon Sep 17 00:00:00 2001 From: Guenter Knauf <eflash@gmx.net> Date: Thu, 5 Jul 2007 12:52:30 +0000 Subject: [PATCH] fix bug #1701782 - for now we only define for the compiler versions where we know for sure - if later versions still need those defines please report to the list. --- include/libssh2.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/libssh2.h b/include/libssh2.h index fddf65f..8e36842 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -64,13 +64,11 @@ extern "C" { # include <sys/uio.h> #endif -#if defined(LIBSSH2_WIN32) && defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(LIBSSH2_WIN32) && defined(_MSC_VER) && (_MSC_VER <= 1310) 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;