From 84f4e9963569f930feaa536d03f98c448cb1d75c Mon Sep 17 00:00:00 2001
From: bellard <bellard>
Date: Sat, 28 Oct 2006 19:45:50 +0000
Subject: [PATCH] added va_copy()

---
 stdarg.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/stdarg.h b/stdarg.h
index d562d6dd..a9b22b7b 100644
--- a/stdarg.h
+++ b/stdarg.h
@@ -6,6 +6,7 @@ typedef char *va_list;
 /* only correct for i386 */
 #define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)
 #define va_arg(ap,type) (ap += (sizeof(type)+3)&~3, *(type *)(ap - ((sizeof(type)+3)&~3)))
+#define va_copy(dest, src) (dest) = (src)
 #define va_end(ap)
 
 /* fix a buggy dependency on GCC in libio.h */