summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-08-10 13:53:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-10 13:53:15 +0000
commita1866d1bf88d9abb7869ffddc5cb4448a6cb503a (patch)
tree6aa03c5d44bba8979aefd08027893709024da9e8 /handy.h
parent4655089419881d80b34694a09fe44f736c9f3b0b (diff)
downloadperl-a1866d1bf88d9abb7869ffddc5cb4448a6cb503a.tar.gz
Avoid #elif (less portable than #else #if).
p4raw-id: //depot/perl@11630
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/handy.h b/handy.h
index c7bdf3cca7..d9127352ff 100644
--- a/handy.h
+++ b/handy.h
@@ -633,10 +633,12 @@ extern long lastxycount[MAXXCOUNT][MAXYCOUNT];
#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)
+# if 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
#endif