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).

This commit is contained in:
Guenter Knauf 2007-04-12 22:08:42 +00:00
parent 51e49f5a1e
commit 0c060e1ccb

View File

@ -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;