summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Include/config.h2
-rw-r--r--Mac/Modules/config.c16
2 files changed, 6 insertions, 12 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index 9664cc7..b78d63b 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -13,7 +13,7 @@
#define HAVE_FOPENRF
#endif
-#ifdef __SC__
+#ifdef __CFM68K__
#define atof Py_AtoF
#define strtod Py_StrToD
#endif
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index 4a1933d..32313a7 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -309,8 +309,8 @@ struct {
} inittab[] = {
{"array", initarray},
-#ifndef __SC__
-/* Do this one later... */
+#ifndef __CFM68K__
+/* The math library seems mostly broken... */
{"math", initmath},
#endif
{"parser", initparser},
@@ -331,34 +331,28 @@ struct {
{"new", initnew},
{"gestalt", initgestalt},
#ifdef THINK_C
+/* This is an interface to the Think runtime */
{"macconsole", initmacconsole},
#endif
-#ifndef __SC__
+#ifndef MPW
/* Do this one later... */
{"ctb", initctb},
#endif
{"macfs", initmacfs},
#ifdef __MWERKS__
-/* This is really "Jack Jansen" specific for now :-) */
+/* This could probably be made to work on other compilers... */
{"macspeech", initmacspeech},
{"macdnr", initmacdnr},
{"mactcp", initmactcp},
#endif
-/* This is really "Guido van Rossum" specific... :-) */
{"AE", initAE},
-#ifndef __MWERKS__
{"Ctl", initCtl},
{"Dlg", initDlg},
-#endif
{"Evt", initEvt},
{"Menu", initMenu},
-#ifdef THINK_C
{"Qd", initQd},
-#endif
-#ifndef __MWERKS__
{"Snd", initSnd},
{"Win", initWin},
-#endif
{"Res", initRes},
/* -- ADDMODULE MARKER 2 -- */