diff Mac/Python/macgetargv.c @ 12962:bac045b85263 legacy-trunk

Made argc/argv processing work again under carbon.
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 20 Jun 2000 07:40:34 +0000
parents 379797f3eeb2
children db963a615bc9
line wrap: on
line diff
--- a/Mac/Python/macgetargv.c	Tue Jun 20 04:54:19 2000 +0000
+++ b/Mac/Python/macgetargv.c	Tue Jun 20 07:40:34 2000 +0000
@@ -264,20 +264,20 @@
 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 */