summaryrefslogtreecommitdiffstats
path: root/Mac/Include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Include/config.h')
-rw-r--r--Mac/Include/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index d582115..9664cc7 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -13,6 +13,11 @@
#define HAVE_FOPENRF
#endif
+#ifdef __SC__
+#define atof Py_AtoF
+#define strtod Py_StrToD
+#endif
+
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */