summaryrefslogtreecommitdiff
path: root/third_party/js-1.7/jsprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/js-1.7/jsprf.c')
-rw-r--r--third_party/js-1.7/jsprf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/js-1.7/jsprf.c b/third_party/js-1.7/jsprf.c
index 416c16c..6735520 100644
--- a/third_party/js-1.7/jsprf.c
+++ b/third_party/js-1.7/jsprf.c
@@ -58,6 +58,8 @@
*/
#ifdef HAVE_VA_COPY
#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
+#elif defined(va_copy)
+#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)
#elif defined(HAVE_VA_LIST_AS_ARRAY)
#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
#else