diff options
Diffstat (limited to 'gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSMore.xs')
-rw-r--r-- | gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSMore.xs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSMore.xs b/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSMore.xs index 938fa790f19..b48cfa2f021 100644 --- a/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSMore.xs +++ b/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/XSMore.xs @@ -30,6 +30,10 @@ This parts are ignored. # define PERL_UNUSED_VAR(x) ((void)x) #endif +/* Newx was introduced in 5.8.8, would also be in ppport.h */ +#ifndef Newx +# define Newx(v,n,t) New(0,v,n,t) +#endif STATIC void |