aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing_d/strtod.c')
-rw-r--r--missing_d/strtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing_d/strtod.c b/missing_d/strtod.c
index 5ebc8c6e..c4f9d2bd 100644
--- a/missing_d/strtod.c
+++ b/missing_d/strtod.c
@@ -70,7 +70,7 @@ register const char **ptr;
if (
#if defined(HAVE_LOCALE_H)
- loc.decimal_point != NULL
+ loc.decimal_point != NULL && do_posix
? *s == loc.decimal_point[0]
: *s == '.'
#else