diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-10 13:53:15 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-10 13:53:15 +0000 |
commit | a1866d1bf88d9abb7869ffddc5cb4448a6cb503a (patch) | |
tree | 6aa03c5d44bba8979aefd08027893709024da9e8 /handy.h | |
parent | 4655089419881d80b34694a09fe44f736c9f3b0b (diff) | |
download | perl-a1866d1bf88d9abb7869ffddc5cb4448a6cb503a.tar.gz |
Avoid #elif (less portable than #else #if).
p4raw-id: //depot/perl@11630
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |