summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>2000-11-20 19:55:29 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-21 18:54:41 +0000
commit2cc61e15d3dcd28f355bee01f2fb06b42ba7309f (patch)
tree4d0343022362710db62a1bb35c8b420cb55fc3ad /handy.h
parentf2b2c1a7ed42395a69ab0bb3b739cdbd8d214137 (diff)
downloadperl-2cc61e15d3dcd28f355bee01f2fb06b42ba7309f.tar.gz
Re: Not OK: perl5.7.0 +DEVEL7706 +Duseperlio on AIX4.[23]
Message-Id: <p04320403b63b2c750dce@[192.168.1.4]> va_copy() and the need of it. See <http://wwwold.dkuug.dk/JTC1/SC22/WG14/www/docs/n907.ps>. p4raw-id: //depot/perl@7793
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
+