| Index: base/port.h
|
| diff --git a/base/port.h b/base/port.h
|
| index 0a04d55f0f620faf085269d3c5bf52bf2e61329a..56c4d4e109f2333eb6a0a5518ef6d792d3b6adaa 100644
|
| --- a/base/port.h
|
| +++ b/base/port.h
|
| @@ -26,18 +26,6 @@
|
| #define GG_INT64_C(x) GG_LONGLONG(x)
|
| #define GG_UINT64_C(x) GG_ULONGLONG(x)
|
|
|
| -// It's possible for functions that use a va_list, such as StringPrintf, to
|
| -// invalidate the data in it upon use. The fix is to make a copy of the
|
| -// structure before using it and use that copy instead. va_copy is provided
|
| -// for this purpose. MSVC does not provide va_copy, so define an
|
| -// implementation here. It is not guaranteed that assignment is a copy, so the
|
| -// StringUtil.VariableArgsFunc unit test tests this capability.
|
| -#if defined(COMPILER_GCC)
|
| -#define GG_VA_COPY(a, b) (va_copy(a, b))
|
| -#elif defined(COMPILER_MSVC)
|
| -#define GG_VA_COPY(a, b) (a = b)
|
| -#endif
|
| -
|
| // Define an OS-neutral wrapper for shared library entry points
|
| #if defined(OS_WIN)
|
| #define API_CALL __stdcall
|
|
|