summaryrefslogtreecommitdiffstats
path: root/Mac/Include/config.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-19 15:49:39 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-19 15:49:39 (GMT)
commite71d853fc9d933f9923c5ce1e98c6c8afc0ea36a (patch)
treea0fedcfe9eccd613af62744dc35758b240e7f126 /Mac/Include/config.h
parent57128fd3677755008011355b9d3772dfb9221f47 (diff)
downloadcpython-e71d853fc9d933f9923c5ce1e98c6c8afc0ea36a.zip
cpython-e71d853fc9d933f9923c5ce1e98c6c8afc0ea36a.tar.gz
cpython-e71d853fc9d933f9923c5ce1e98c6c8afc0ea36a.tar.bz2
hacks for atoi/strtod in __SC__
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. */