summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-21 21:01:47 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-21 21:01:47 (GMT)
commitedea408f8824191f519fbb5e91789de32f6aa5da (patch)
tree7a2918f06243727ba32f7aeb401dc5ec280ef8ec /Mac
parente6d9ccc33abd6c26a6dc7d9e120021008d696436 (diff)
downloadcpython-edea408f8824191f519fbb5e91789de32f6aa5da.zip
cpython-edea408f8824191f519fbb5e91789de32f6aa5da.tar.gz
cpython-edea408f8824191f519fbb5e91789de32f6aa5da.tar.bz2
changed ifdefs and comments -- more modules are good
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 -- */