diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-13 17:03:32 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:53:07 +0100 |
commit | 0cbb9d6e5110600ac96ca9d7544c8956082ebf0f (patch) | |
tree | 14e6485bf65401a72fcc03d7dcdebbbc3165b3b3 /numeric.c | |
parent | 2abc681d27f72f8a4ad94049b1ae16171521dd33 (diff) | |
download | perl-0cbb9d6e5110600ac96ca9d7544c8956082ebf0f.tar.gz |
numeric.c: simplify cpp conditionals
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1213,8 +1213,7 @@ Perl_my_atof(pTHX_ const char* s) #ifdef USE_QUADMATH Perl_my_atof2(aTHX_ s, &x); return x; -#else -# ifdef USE_LOCALE_NUMERIC +#elif defined(USE_LOCALE_NUMERIC) PERL_ARGS_ASSERT_MY_ATOF; { @@ -1244,9 +1243,8 @@ Perl_my_atof(pTHX_ const char* s) Perl_atof2(s, x); RESTORE_LC_NUMERIC(); } -# else +#else Perl_atof2(s, x); -# endif #endif return x; } |