You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove some C++11 polyfill defines that are no longer needed
This commit is contained in:
@@ -196,16 +196,6 @@ String str_format(const char *p_format, ...) {
|
||||
|
||||
return res;
|
||||
}
|
||||
// va_copy was defined in the C99, but not in C++ standards before C++11.
|
||||
// When you compile C++ without --std=c++<XX> option, compilers still define
|
||||
// va_copy, otherwise you have to use the internal version (__va_copy).
|
||||
#if !defined(va_copy)
|
||||
#if defined(__GNUC__)
|
||||
#define va_copy(d, s) __va_copy((d), (s))
|
||||
#else
|
||||
#define va_copy(d, s) ((d) = (s))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(MINGW_ENABLED) || defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define gd_vsnprintf(m_buffer, m_count, m_format, m_args_copy) vsnprintf_s(m_buffer, m_count, _TRUNCATE, m_format, m_args_copy)
|
||||
|
||||
Reference in New Issue
Block a user