Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ce7a1a

Browse files
committed
Changes by RMW for MPW
1 parent 87f223c commit 3ce7a1a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Mac/Modules/config.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,17 @@ main(argc, argv)
5353
char **argv;
5454
{
5555
#ifdef macintosh
56+
57+
#ifndef MPW /* XXX RJW undefined in MPW */
5658
wargs(&argc, &argv);
5759
#endif
60+
61+
#ifndef MPW_3 /* XXX RJW doesn't seem to work with MPW C 3.0 */
62+
extern int std_open_hook();
63+
set_open_hook (std_open_hook);
64+
#endif
65+
#endif
66+
5867
argv0 = argv[0];
5968
realmain(argc, argv);
6069
}

0 commit comments

Comments
 (0)