util: Remove va_copy fixup because of c11 is required

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19646>
This commit is contained in:
Yonggang Luo
2022-11-10 16:26:09 +08:00
committed by Marge Bot
parent df3ca74053
commit 605ebc32ee
2 changed files with 0 additions and 17 deletions

View File

@@ -77,15 +77,6 @@ typedef unsigned char boolean;
#define FALSE false
#endif
#ifndef va_copy
#ifdef __va_copy
#define va_copy(dest, src) __va_copy((dest), (src))
#else
#define va_copy(dest, src) (dest) = (src)
#endif
#endif
/* XXX: Use standard `__func__` instead */
#ifndef __FUNCTION__
# define __FUNCTION__ __func__

View File

@@ -38,14 +38,6 @@
_CRTIMP int _vscprintf(const char *format, va_list argptr);
#endif
#ifndef va_copy
#ifdef __va_copy
#define va_copy(dest, src) __va_copy((dest), (src))
#else
#define va_copy(dest, src) (dest) = (src)
#endif
#endif
static const char*
util_printf_prev_tok(const char *str)
{