Merge pull request #194 from Linux13524/fix/msvc19

Fix problem with snprintf macro in MSVC 2019
This commit is contained in:
Sébastien Rombauts 2019-03-30 13:55:57 +01:00 committed by GitHub
commit 7db3077426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,6 @@ const nullptr_t nullptr = {};
#endif // _MSC_VER
// A macro for snprintf support in Visual Studio
#if _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1500
#define snprintf _snprintf
#endif