From 1adf8c6a9c2c0d8b4936bfc35b84357b13f5a2b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicent=20Mart=C3=AD?= Date: Fri, 4 May 2012 13:52:38 -0700 Subject: [PATCH] compat: va_copy on Win32 systems --- src/cc-compat.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/cc-compat.h b/src/cc-compat.h index 507985daa..9f23dcae2 100644 --- a/src/cc-compat.h +++ b/src/cc-compat.h @@ -58,4 +58,12 @@ # include #endif +#ifndef va_copy +# ifdef __va_copy +# define va_copy(dst, src) __va_copy(dst, src) +# else +# define va_copy(dst, src) ((dst) = (src)) +# endif +#endif + #endif /* INCLUDE_compat_h__ */