The microperl config didn't know about usemallocwrap yet.
[p5sagit/p5-mst-13.2.git] / minimod.pl
index 8efbd31..18b9c07 100644 (file)
@@ -59,7 +59,7 @@ sub writemain{
        my($mname, $cname);
        ($mname = $pname) =~ s!/!::!g;
        ($cname = $pname) =~ s!/!__!g;
-       print "EXTERN_C void boot_${cname} (CV* cv);\n";
+        print "EXTERN_C void boot_${cname} (pTHX_ CV* cv);\n";
     }
 
     my ($tail1,$tail2) = ( $tail =~ /\A(.*\n)(\s*\}.*)\Z/s );