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:
4e426ad
)
IO.xs: OP_SIBLING is too new
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 10 Sep 2014 21:05:16 +0000
(14:05 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 10 Sep 2014 21:06:12 +0000
(14:06 -0700)
and IO is living a double life, so we must #define it for older
perls.
dist/IO/IO.xs
patch
|
blob
|
blame
|
history
diff --git
a/dist/IO/IO.xs
b/dist/IO/IO.xs
index
5e30795
..
c1b7e91
100644
(file)
--- a/
dist/IO/IO.xs
+++ b/
dist/IO/IO.xs
@@
-61,6
+61,10
@@
typedef FILE * OutputStream;
# define dVAR dNOOP
#endif
+#ifndef OP_SIBLING
+# define OP_SIBLING(o) (o)->op_sibling
+#endif
+
static int not_here(const char *s) __attribute__noreturn__;
static int
not_here(const char *s)