]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
changed ifdefs and comments -- more modules are good
authorGuido van Rossum <guido@python.org>
Tue, 21 Feb 1995 21:01:47 +0000 (21:01 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 21 Feb 1995 21:01:47 +0000 (21:01 +0000)
Mac/Include/config.h
Mac/Modules/config.c

index 9664cc77ffa36d6e6677064d9455bde3aa1bfac1..b78d63bcae48244aa4ebcab30428f6d79fe5734b 100644 (file)
@@ -13,7 +13,7 @@
 #define HAVE_FOPENRF
 #endif
 
-#ifdef __SC__
+#ifdef __CFM68K__
 #define atof Py_AtoF
 #define strtod Py_StrToD
 #endif
index 4a1933dfcf0eed3d262e6dc2cfb7df68776eb4b7..32313a72f02b9045c3b86bfeaaed0e30c8b0aaa9 100644 (file)
@@ -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 -- */