summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-05 11:15:34 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-05 11:15:34 +0000
commit7af12a3427fcb35d914dabc3dae6f54bdba16995 (patch)
treef96de251a37dee089b3b8f221db4ecb33a6fd1fa /perl.c
parent02ca4724741a496db86d1f4591929ced61e3be44 (diff)
downloadperl-7af12a3427fcb35d914dabc3dae6f54bdba16995.tar.gz
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
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/perl.c b/perl.c
index 48ddb7abae..38ed6386b1 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