diff options
author | mike <mike@FreeBSD.org> | 2002-09-18 07:33:16 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-09-18 07:33:16 +0000 |
commit | e35c51c74c9136c275aff6e68216801a7262f546 (patch) | |
tree | d9550a771c43d65b540d4e46a2dadaefba483323 /sys/powerpc | |
parent | 397f4349cf97eb654d15023a7c4b6b06fd206725 (diff) | |
download | FreeBSD-src-e35c51c74c9136c275aff6e68216801a7262f546.zip FreeBSD-src-e35c51c74c9136c275aff6e68216801a7262f546.tar.gz |
Implement C99's va_copy() macro.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/stdarg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/stdarg.h b/sys/powerpc/include/stdarg.h index f71971d..5b5bcb3 100644 --- a/sys/powerpc/include/stdarg.h +++ b/sys/powerpc/include/stdarg.h @@ -43,6 +43,9 @@ typedef __va_list va_list; #define va_arg(ap, type) \ __builtin_va_arg((ap), type) +#define va_copy(dest, src) \ + __builtin_va_copy((dest), (src)) + #define va_end(ap) \ __builtin_va_end(ap) |