From: Nicholas Clark Date: Sun, 5 Feb 2006 11:15:34 +0000 (+0000) Subject: Without this Windows and Netware compilers should be complaining X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7af12a3427fcb35d914dabc3dae6f54bdba16995;p=p5sagit%2Fp5-mst-13.2.git Without this Windows and Netware compilers should be complaining 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 --- diff --git a/perl.c b/perl.c index 48ddb7a..38ed638 100644 --- 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