summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-27 13:18:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-27 13:18:14 (GMT)
commitf74f63a43f3c4e3d31a0366a2a982e0ded8ef583 (patch)
tree7a283806d15a5e953125048c1da5c58488c07120 /Mac/Include
parenteceb3e3f0a7d0f58ac75b46cc1c907eaf21dd472 (diff)
downloadcpython-f74f63a43f3c4e3d31a0366a2a982e0ded8ef583.zip
cpython-f74f63a43f3c4e3d31a0366a2a982e0ded8ef583.tar.gz
cpython-f74f63a43f3c4e3d31a0366a2a982e0ded8ef583.tar.bz2
Initial port to CodeWarrior CFM68K support (mainly by disabling
unsupported features).
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/config.h2
-rw-r--r--Mac/Include/macdefs.h3
-rw-r--r--Mac/Include/macglue.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index b78d63b..93def6c 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -13,7 +13,7 @@
#define HAVE_FOPENRF
#endif
-#ifdef __CFM68K__
+#ifdef SYMANTEC__CFM68K__
#define atof Py_AtoF
#define strtod Py_StrToD
#endif
diff --git a/Mac/Include/macdefs.h b/Mac/Include/macdefs.h
index b64a47e..71f73b1 100644
--- a/Mac/Include/macdefs.h
+++ b/Mac/Include/macdefs.h
@@ -13,6 +13,9 @@
#ifdef __MWERKS__
#include "errno_unix.h"
+#include <Strings.h>
+#define c2pstr C2PStr
+#define p2cstr P2CStr
#endif
#include <errno.h>
#include <string.h>
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index a9ef0f7..13468fb 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -34,7 +34,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define HAVE_UNIVERSAL_HEADERS
#endif
-#ifdef __CFM68K__
+#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#endif