This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4655089
)
Avoid #elif (less portable than #else #if).
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 10 Aug 2001 13:53:15 +0000
(13:53 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 10 Aug 2001 13:53:15 +0000
(13:53 +0000)
p4raw-id: //depot/perl@11630
handy.h
patch
|
blob
|
blame
|
history
diff --git
a/handy.h
b/handy.h
index
c7bdf3c
..
d912735
100644
(file)
--- 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