1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

Don't use CPP symbol _MSC_VER unless it is defined, because undefined

CPP symbols means 0.  Tiny patch from "Yang Tse" <yangsita@gmail.com>.
This commit is contained in:
Simon Josefsson
2007-03-29 08:11:51 +00:00
parent 53d6597569
commit 4c7ecad34d

View File

@@ -63,7 +63,7 @@ extern "C" {
# include <sys/uio.h> # include <sys/uio.h>
#endif #endif
#if defined(LIBSSH2_WIN32) && _MSC_VER < 1300 #if defined(LIBSSH2_WIN32) && defined(_MSC_VER) && (_MSC_VER < 1300)
typedef unsigned __int64 libssh2_uint64_t; typedef unsigned __int64 libssh2_uint64_t;
typedef __int64 libssh2_int64_t; typedef __int64 libssh2_int64_t;
#else #else