summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2019-10-29 17:33:00 +0100
committerTony Cook <tony@develop-help.com>2019-10-30 15:11:58 +1100
commit17d445953201af33b64e278caa974aeae05a2c95 (patch)
treed9b1e8ea53d5a10e9991fd8441ea88d80bddaba7 /pp.c
parentd398c6bff9ffeadd64017079aea6fd0967884bf4 (diff)
downloadperl-17d445953201af33b64e278caa974aeae05a2c95.tar.gz
remove CONSERVATIVE and LIBERAL
These constants were undocumented and don't do anything useful. Saving a few kilobytes of memory doesn't justify the complexity caused by adding a new build flag. All platforms except 64-bit Windows were using LIBERAL. It's not clear why win64 was using -DCONSERVATIVE, but removing it doesn't break anything. [gh #17232]
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index bc08a0eed6..9a06fcc808 100644
--- a/pp.c
+++ b/pp.c
@@ -2549,7 +2549,6 @@ S_scomplement(pTHX_ SV *targ, SV *sv)
anum = len;
-#ifdef LIBERAL
{
long *tmpl;
for ( ; anum && PTR2nat(tmps) % sizeof(long); anum--, tmps++)
@@ -2559,7 +2558,7 @@ S_scomplement(pTHX_ SV *targ, SV *sv)
*tmpl = ~*tmpl;
tmps = (U8*)tmpl;
}
-#endif
+
for ( ; anum > 0; anum--, tmps++)
*tmps = ~*tmps;
}