From edea408f8824191f519fbb5e91789de32f6aa5da Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 21 Feb 1995 21:01:47 +0000 Subject: changed ifdefs and comments -- more modules are good --- Mac/Include/config.h | 2 +- Mac/Modules/config.c | 16 +++++----------- 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 -- */ -- cgit v0.12