summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index b3912a4483..32cab66118 100644
--- a/handy.h
+++ b/handy.h
@@ -623,3 +623,14 @@ extern long lastxycount[MAXXCOUNT][MAXYCOUNT];
#else
#define StructCopy(s,d,t) Copy(s,d,1,t)
#endif
+
+#ifdef NEED_VA_COPY
+# ifdef va_copy
+# define Perl_va_copy(s, d) va_copy(d, s)
+# elif defined(__va_copy)
+# define Perl_va_copy(s, d) __va_copy(d, s)
+# else
+# define Perl_va_copy(s, d) Copy(s, d, 1, va_list)
+# endif
+#endif
+