summaryrefslogtreecommitdiff
path: root/src/stdlib/_strtod.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/_strtod.h')
-rw-r--r--src/stdlib/_strtod.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdlib/_strtod.h b/src/stdlib/_strtod.h
index 05b8f318..aa7e60d4 100644
--- a/src/stdlib/_strtod.h
+++ b/src/stdlib/_strtod.h
@@ -52,6 +52,9 @@
if (nptr[0] == '0' && toupper(nptr[1] == 'X')) {
return ret;
}
+ #else
+ (void)nan;
+ (void)inf;
#endif
while (*nptr) {