X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/20ce7b12268a3d32b5b246928de5084322e709cf..d51aaa9d21dc3a78c1d9dc7a1cac0fb9ea283618:/writemain.SH?ds=sidebyside diff --git a/writemain.SH b/writemain.SH index 3a81fa6..ed8aca6 100644 --- a/writemain.SH +++ b/writemain.SH @@ -1,4 +1,4 @@ -case $CONFIGDOTSH in +case $PERL_CONFIG_SH in '') if test -f config.sh; then TOP=.; elif test -f ../config.sh; then TOP=..; @@ -65,14 +65,14 @@ if test X"$args" != "X" ; then mname=`echo $ext | sed 's!/!::!g'` cname=`echo $mname | sed 's!:!_!g'` -echo "EXTERN_C void boot_${cname} (CV* cv);" +echo "EXTERN_C void boot_${cname} (pTHX_ CV* cv);" done fi cat << 'EOP' static void -xs_init() +xs_init(pTHX) { EOP