1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Remove #ifdefs for handling compilation with Visual Studio < 2015

Godot 3.3 and later require Visual Studio 2017 to be compiled.

(cherry picked from commit fc0bfbb33b)
This commit is contained in:
Hugo Locurcio
2021-08-31 20:02:55 +02:00
committed by Rémi Verschelde
parent e1be41b2c6
commit 59eafe4cd3
2 changed files with 4 additions and 4 deletions

View File

@@ -206,7 +206,7 @@ String str_format(const char *p_format, ...) {
#endif
#endif
#if defined(MINGW_ENABLED) || defined(_MSC_VER) && _MSC_VER < 1900
#if defined(MINGW_ENABLED)
#define gd_vsnprintf(m_buffer, m_count, m_format, m_args_copy) vsnprintf_s(m_buffer, m_count, _TRUNCATE, m_format, m_args_copy)
#define gd_vscprintf(m_format, m_args_copy) _vscprintf(m_format, m_args_copy)
#else