Without this Windows and Netware compilers should be complaining
Nicholas Clark [Sun, 5 Feb 2006 11:15:34 +0000 (11:15 +0000)]
about perl.c having code before a declaration, *but only if compiling
with PERL_TRACK_MEMPOOL*. So, will it fix the smoke failures? Place
bets now.

p4raw-id: //depot/perl@27089

perl.c

diff --git a/perl.c b/perl.c
index 48ddb7a..38ed638 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -1295,18 +1295,20 @@ perl_free(pTHXx)
 #endif
 
 #if defined(WIN32) || defined(NETWARE)
+    {
 #  if defined(PERL_IMPLICIT_SYS)
 #    ifdef NETWARE
-    void *host = nw_internal_host;
+       void *host = nw_internal_host;
 #    else
-    void *host = w32_internal_host;
+       void *host = w32_internal_host;
 #    endif
-    PerlMem_free(aTHXx);
+       PerlMem_free(aTHXx);
 #    ifdef NETWARE
-    nw_delete_internal_host(host);
+       nw_delete_internal_host(host);
 #    else
-    win32_delete_internal_host(host);
+       win32_delete_internal_host(host);
 #    endif
+    }
 #  else
     PerlMem_free(aTHXx);
 #  endif