diff options
author | Karl Williamson <khw@cpan.org> | 2019-05-05 10:03:01 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-24 17:09:29 -0600 |
commit | 02fd9d541c593812f3e152dc406cb4399353d5dc (patch) | |
tree | 27f9745a50fd64543b70996e2595633b29e61fb9 /numeric.c | |
parent | 89f69032d6a71f41b96ae6becbf3df4e2f9509a5 (diff) | |
download | perl-02fd9d541c593812f3e152dc406cb4399353d5dc.tar.gz |
numeric.c: Add #error case
It's best to have a #error case when nothing in the #if #else series is
true, as it catches the problem at compile time.
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ S_strtod(pTHX_ const char * const s, char ** e) result = strtod(s, e); +# else +# error No strtod() equivalent found # endif RESTORE_LC_NUMERIC(); |