diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 86dab57b196..8f16db7bd17 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -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__ diff --git a/src/util/u_printf.c b/src/util/u_printf.c index b4ea39d86e3..c9c8053f2c9 100644 --- a/src/util/u_printf.c +++ b/src/util/u_printf.c @@ -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) {