Note that sv_2mortal isn't just "increase reference count by 1, and
[p5sagit/p5-mst-13.2.git] / makedef.pl
index 5f7c822..774c714 100644 (file)
@@ -633,10 +633,10 @@ else {
                    )];
 }
 
-unless ($define{'NO_PERL_MALLOC_WRAP'}) {
+if ($define{'PERL_MALLOC_WRAP'}) {
     emit_symbols [qw(
                    PL_memory_wrap
-                   );]
+                   )];
 }
 
 unless ($define{'USE_ITHREADS'}) {
@@ -1038,6 +1038,7 @@ if ($PLATFORM =~ /^win(?:32|ce)$/) {
                            win32_pclose
                            win32_rename
                            win32_setmode
+                           win32_chsize
                            win32_lseek
                            win32_tell
                            win32_dup