summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-07-18 19:49:28 +0100
committerNicholas Clark <nick@ccl4.org>2011-07-18 19:49:28 +0100
commit48543d3d9038210f236a932052d229fbe28f5a54 (patch)
treef5a12603a7f4d664c25944aaa1dfb996128243bf
parentb70eaa9acd8d6915c10754d4d5f0a9f656d3e0e2 (diff)
downloadperl-smoke-me/sys_intern.tar.gz
In the PERL_IMPLICIT_SYS section in perl_free(), use fewer CPP directives.smoke-me/sys_intern
-rw-r--r--perl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl.c b/perl.c
index 4878f9ca8b..55bdc35a00 100644
--- a/perl.c
+++ b/perl.c
@@ -1337,13 +1337,11 @@ perl_free(pTHXx)
{
# ifdef NETWARE
void *host = nw_internal_host;
-# else
- void *host = w32_internal_host;
-# endif
PerlMem_free(aTHXx);
-# ifdef NETWARE
nw_delete_internal_host(host);
# else
+ void *host = w32_internal_host;
+ PerlMem_free(aTHXx);
win32_delete_internal_host(host);
# endif
}