summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/stdarg.h')
-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