Fix windows xp support

This commit is contained in:
Benau 2022-03-17 15:12:08 +08:00
parent 5128fc3a88
commit 1d0d2ebb75

View File

@ -67,6 +67,7 @@ std::string to_string(const T& val) {
}
#endif
#undef MINGW_HAS_SECURE_API
#if (defined(_MSC_VER) && _MSC_VER < 1900 /*vs2015*/) || MINGW_HAS_SECURE_API
#include <basetsd.h>
#ifndef snprintf