summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-20 15:57:12 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-20 15:57:12 (GMT)
commit86b4049b87edc7323252a0b8f18e212fe0e1d93c (patch)
tree9212712ad46a706a2f5577e589b14d8df3980cc8
parent3ec804af852620bea1349ac714667b68a463a3c0 (diff)
downloadcpython-86b4049b87edc7323252a0b8f18e212fe0e1d93c.zip
cpython-86b4049b87edc7323252a0b8f18e212fe0e1d93c.tar.gz
cpython-86b4049b87edc7323252a0b8f18e212fe0e1d93c.tar.bz2
Some more modules temp excluded in mwerks, and a comment fix.
-rw-r--r--Mac/Modules/config.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index f8b5a4a..4a1933d 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -165,7 +165,8 @@ getpythonpath()
{
#ifdef macintosh
/* Modified by Jack to do something a bit more sensible:
- ** - Prepend the current directory (which is presumably where python lives)
+ ** - Prepend the python home-directory (which is obtained from a Preferences
+ ** resource)
** - Add :
** - Chdir to where the source file (if any) lives
*/
@@ -345,13 +346,19 @@ struct {
#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 -- */