diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-07-18 19:49:28 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-07-02 22:05:05 +0200 |
commit | bdb504800671ce2688cdfd83ea9009b88b2d5164 (patch) | |
tree | 9c1746d43a9ae6c7b588576634a43fd8c2c2c1da /perl.c | |
parent | fe8266635e349641571e2ce349be3cc30e7bc51b (diff) | |
download | perl-bdb504800671ce2688cdfd83ea9009b88b2d5164.tar.gz |
In the PERL_IMPLICIT_SYS section in perl_free(), use fewer CPP directives.
The diff is actually confusing to look at - the code itself makes things a
lot clearer:
# ifdef NETWARE
void *host = nw_internal_host;
PerlMem_free(aTHXx);
nw_delete_internal_host(host);
# else
void *host = w32_internal_host;
PerlMem_free(aTHXx);
win32_delete_internal_host(host);
# endif
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1347,13 +1347,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 } |