From 4c7ecad34d768f4a98da20442e53aefc58aff206 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 29 Mar 2007 08:11:51 +0000 Subject: [PATCH] Don't use CPP symbol _MSC_VER unless it is defined, because undefined CPP symbols means 0. Tiny patch from "Yang Tse" . --- include/libssh2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libssh2.h b/include/libssh2.h index 4a2bb503..b4bf136e 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -63,7 +63,7 @@ extern "C" { # include #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 __int64 libssh2_int64_t; #else