From 2ee13d9e464a1f5daccaff58f5d09d36b7c4f667 Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Mon, 21 Sep 2015 22:58:06 +0800 Subject: Revert "Imported Upstream version 2.9.1+dfsg1" This reverts commit 7300193becde71a344c8ac0973dc290fa24d800d. --- include/win32config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/win32config.h') diff --git a/include/win32config.h b/include/win32config.h index 3fc9be5..40cf7df 100644 --- a/include/win32config.h +++ b/include/win32config.h @@ -5,6 +5,8 @@ #define HAVE_STDARG_H #define HAVE_MALLOC_H #define HAVE_ERRNO_H +#define SEND_ARG2_CAST +#define GETHOSTBYNAME_ARG_CAST #if defined(_WIN32_WCE) #undef HAVE_ERRNO_H @@ -95,7 +97,9 @@ static int isnan (double d) { #if defined(_MSC_VER) #define mkdir(p,m) _mkdir(p) +#if _MSC_VER < 1900 #define snprintf _snprintf +#endif #if _MSC_VER < 1500 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) #endif -- cgit v1.2.3