summaryrefslogtreecommitdiffstats
path: root/Include/pystrtod.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pystrtod.h')
-rw-r--r--Include/pystrtod.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pystrtod.h b/Include/pystrtod.h
index d7bae12..23fd1c6 100644
--- a/Include/pystrtod.h
+++ b/Include/pystrtod.h
@@ -18,7 +18,9 @@ PyAPI_FUNC(char *) PyOS_double_to_string(double val,
int flags,
int *type);
+#ifndef Py_LIMITED_API
PyAPI_FUNC(double) _Py_parse_inf_or_nan(const char *p, char **endptr);
+#endif
/* PyOS_double_to_string's "flags" parameter can be set to 0 or more of: */