From e7a28ddc82ea96e7c90cc942466297247d1fcef1 Mon Sep 17 00:00:00 2001 From: Huxy Date: Wed, 10 Feb 2016 12:44:03 +0000 Subject: [PATCH] Fixed VS2015 error; snprintf std is now included --- build/win32/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/win32/config.h b/build/win32/config.h index 08db9b0..f909547 100644 --- a/build/win32/config.h +++ b/build/win32/config.h @@ -94,5 +94,7 @@ #define inline __inline #endif #define strcasecmp stricmp -#define snprintf _snprintf +#if defined(_MSC_VER) && _MSC_VER < 1900 +#define snprintf _snprintf +#endif