From 3ce7a1a9ea40d8d9730f1a5b5b217de9a2ba8ee6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 6 May 1994 15:54:52 +0000 Subject: [PATCH] Changes by RMW for MPW --- Mac/Modules/config.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c index a41a0d650ae..bc017dcf0ad 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); }