From b841f794cf9cd27ba113726972d6b5aedb74f4e5 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 22 Jul 2000 18:29:43 +0000 Subject: [PATCH] Added va_copy git-svn-id: svn://svn.cc65.org/cc65/trunk@190 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/stdarg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/stdarg.h b/include/stdarg.h index 591048039..66377fa63 100644 --- a/include/stdarg.h +++ b/include/stdarg.h @@ -16,6 +16,7 @@ typedef unsigned char* va_list; #define va_start(ap, fix) ap = (va_list)&fix + *(((va_list)&fix)-1) - __fixargs__ #define va_arg(ap,type) ((type)*(ap -= ((sizeof (type) + 1) & ~1))) +#define va_copy(dest, src) ((dest)=(src)) #define va_end(ap) /* This is only valid *before* the first call to va_arg. It will also work -- 2.39.5