From: Guido van Rossum Date: Fri, 6 May 1994 15:54:52 +0000 (+0000) Subject: Changes by RMW for MPW X-Git-Tag: v1.1~358 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ce7a1a9ea40d8d9730f1a5b5b217de9a2ba8ee6;p=thirdparty%2FPython%2Fcpython.git Changes by RMW for MPW --- diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c index a41a0d650ae6..bc017dcf0adb 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); }