From: Jarkko Hietaniemi Date: Fri, 10 Aug 2001 13:53:15 +0000 (+0000) Subject: Avoid #elif (less portable than #else #if). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a1866d1bf88d9abb7869ffddc5cb4448a6cb503a;p=p5sagit%2Fp5-mst-13.2.git Avoid #elif (less portable than #else #if). p4raw-id: //depot/perl@11630 --- diff --git a/handy.h b/handy.h index c7bdf3c..d912735 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