Merge pull request #28700 from ShyRed/fixmonogluewindows

Fix generation of Mono Glue for Visual Studio 2017+
This commit is contained in:
Ignacio Roldán Etcheverry 2019-05-05 16:47:21 +02:00 committed by GitHub
commit 255ea11502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ String str_format(const char *p_format, ...) {
#endif
#endif
#if defined(MINGW_ENABLED) || defined(_MSC_VER)
#if defined(MINGW_ENABLED) || defined(_MSC_VER) && _MSC_VER < 1900
#define vsnprintf(m_buffer, m_count, m_format, m_argptr) vsnprintf_s(m_buffer, m_count, _TRUNCATE, m_format, m_argptr)
#endif