diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-05-03 00:42:04 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-05-03 00:42:04 +0200 |
commit | 596d42615155c945234e27b65a91c7654891453b (patch) | |
tree | 83647d637228f20df921e1d3d5f3791350492794 /core/io | |
parent | d2887ea78b5256faaaae7e0ba66fc9146d35dceb (diff) |
Remove some C++11 polyfill defines that are no longer needed
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/logger.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/io/logger.cpp b/core/io/logger.cpp index 48aebeda3d..ad0cc81023 100644 --- a/core/io/logger.cpp +++ b/core/io/logger.cpp @@ -34,17 +34,6 @@ #include "core/os/os.h" #include "core/print_string.h" -// 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) #define sprintf sprintf_s #endif |