UI: Define snprintf only for Visual Studios prior VS2015

This change is purely cosmetic one. _snprintf is still defined in 2015,
but Microsoft may change this in the future.
This commit is contained in:
GoaLitiuM
2015-05-04 19:33:55 +03:00
parent 2ab4c430e0
commit 2c3510f0a7
+2
View File
@@ -38,7 +38,9 @@
#ifdef _WIN32
#include <windows.h>
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#else
#include <signal.h>
#endif