diff options
Diffstat (limited to 'include/win32config.h')
-rw-r--r-- | include/win32config.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |