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

Skip to content

Commit 264630e

Browse files
committed
When compiling for GUSI and Carbon disable te "keep open on unseen output", for the time being.
1 parent 6ba34aa commit 264630e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/Python/macmain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Py_Main(argc, argv)
544544
void
545545
PyMac_OutputSeen()
546546
{
547-
#ifdef USE_GUSI
547+
#if defined(USE_GUSI) && !TARGET_API_MAC_CARBON_NOTYET
548548
gusisioux_state = GUSISIOUX_STATE_LASTREAD;
549549
#endif
550550
}
@@ -569,7 +569,7 @@ PyMac_Exit(status)
569569
keep = 0;
570570
break;
571571
case POPT_KEEPCONSOLE_OUTPUT:
572-
#ifdef USE_GUSI
572+
#if defined(USE_GUSI) && !TARGET_API_MAC_CARBON_NOTYET
573573
if (gusisioux_state == GUSISIOUX_STATE_LASTWRITE ||
574574
gusisioux_state == GUSISIOUX_STATE_UNKNOWN )
575575
keep = 1;

0 commit comments

Comments
 (0)