From: Jack Jansen Date: Tue, 20 Jun 2000 07:40:34 +0000 (+0000) Subject: Made argc/argv processing work again under carbon. X-Git-Tag: v2.0b1~1469 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca23d910f89e2c4ee7b4dd0d634dd157b30e87dc;p=python Made argc/argv processing work again under carbon. --- diff --git a/Mac/Python/macgetargv.c b/Mac/Python/macgetargv.c index 7e33280a8a..1eb4a54b77 100644 --- a/Mac/Python/macgetargv.c +++ b/Mac/Python/macgetargv.c @@ -264,20 +264,20 @@ reset_ae_handlers() static void event_loop() { -#ifndef TARGET_API_MAC_CARBON EventRecord event; int n; int ok; got_one = 0; for (n = 0; n < 100 && !got_one; n++) { +#ifndef TARGET_API_MAC_CARBON SystemTask(); +#endif ok = GetNextEvent(everyEvent, &event); if (ok && event.what == kHighLevelEvent) { AEProcessAppleEvent(&event); } } -#endif } /* Get the argv vector, return argc */