diff options
author | Tony Cook <tony@develop-help.com> | 2020-10-21 11:02:20 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2020-10-26 22:34:54 +0000 |
commit | dfee93524089fd4fa372ce7e0dd15e2809b5c540 (patch) | |
tree | 07349e82abd751f7d5881f455730967d1c3a9d46 /mg.c | |
parent | e8581bc2c747ca29bf14cd33600912bfc5a00bf0 (diff) | |
download | perl-dfee93524089fd4fa372ce7e0dd15e2809b5c540.tar.gz |
remove dead code when using Perl_strtod for numeric conversion
which is the common case.
If strtod() is disabled, (and USE_PERL_ATOF isn't also disabled) this
code is used, so I moved it into the #elif block.
It's also possible to Configure disabling both strtod() and
USE_PERL_ATOF with:
./Configure ... -Ud_strtod -Accflags=-DUSE_PERL_ATOF=0 ...
which resulted in a build with a broken Perl_my_atof3(), so fail the
build early with #error in that case.
Diffstat (limited to 'mg.c')
0 files changed, 0 insertions, 0 deletions