This change is purely cosmetic one. _snprintf is still defined in 2015, but Microsoft may change this in the future.
@@ -450,10 +450,6 @@ static inline void from_locale(char *buffer)
*pos = '.';
}
-#ifdef _WIN32
-#define snprintf _snprintf
-#endif
-
double os_strtod(const char *str)
{
char buf[64];
@@ -137,6 +137,9 @@ EXPORT int os_mkdir(const char *path);
#ifdef _MSC_VER
#define strtoll _strtoi64
+#if _MSC_VER < 1900
+#define snprintf _snprintf
+#endif
#endif
#ifdef __cplusplus