summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-09-18 07:33:16 +0000
committermike <mike@FreeBSD.org>2002-09-18 07:33:16 +0000
commite35c51c74c9136c275aff6e68216801a7262f546 (patch)
treed9550a771c43d65b540d4e46a2dadaefba483323 /sys/powerpc
parent397f4349cf97eb654d15023a7c4b6b06fd206725 (diff)
downloadFreeBSD-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.h3
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)
OpenPOWER on IntegriCloud