summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-05-06 15:54:52 (GMT)
committerGuido van Rossum <guido@python.org>1994-05-06 15:54:52 (GMT)
commit3ce7a1a9ea40d8d9730f1a5b5b217de9a2ba8ee6 (patch)
tree1d6d93067357554f3c7f4387537dae5cd566882f /Mac
parent87f223c6c7f05dfcc2c3b292c02139bcaca743c0 (diff)
downloadcpython-3ce7a1a9ea40d8d9730f1a5b5b217de9a2ba8ee6.zip
cpython-3ce7a1a9ea40d8d9730f1a5b5b217de9a2ba8ee6.tar.gz
cpython-3ce7a1a9ea40d8d9730f1a5b5b217de9a2ba8ee6.tar.bz2
Changes by RMW for MPW
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/config.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index a41a0d6..bc017dc 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -53,8 +53,17 @@ main(argc, argv)
char **argv;
{
#ifdef macintosh
+
+#ifndef MPW /* XXX RJW undefined in MPW */
wargs(&argc, &argv);
#endif
+
+#ifndef MPW_3 /* XXX RJW doesn't seem to work with MPW C 3.0 */
+ extern int std_open_hook();
+ set_open_hook (std_open_hook);
+#endif
+#endif
+
argv0 = argv[0];
realmain(argc, argv);
}