summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-11 23:04:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-11 23:04:32 (GMT)
commit264630e85525c5bc475204cc1aaced00ab5ec2ff (patch)
tree92b9ab3198e7f5d58909e35a2ed8d4afb23fd146 /Mac
parent6ba34aa07f2249ec2d70b5238ebbba4f6219f5fc (diff)
downloadcpython-264630e85525c5bc475204cc1aaced00ab5ec2ff.zip
cpython-264630e85525c5bc475204cc1aaced00ab5ec2ff.tar.gz
cpython-264630e85525c5bc475204cc1aaced00ab5ec2ff.tar.bz2
When compiling for GUSI and Carbon disable te "keep open on unseen output", for the time being.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 298eb71..e3df287 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -544,7 +544,7 @@ Py_Main(argc, argv)
void
PyMac_OutputSeen()
{
-#ifdef USE_GUSI
+#if defined(USE_GUSI) && !TARGET_API_MAC_CARBON_NOTYET
gusisioux_state = GUSISIOUX_STATE_LASTREAD;
#endif
}
@@ -569,7 +569,7 @@ PyMac_Exit(status)
keep = 0;
break;
case POPT_KEEPCONSOLE_OUTPUT:
-#ifdef USE_GUSI
+#if defined(USE_GUSI) && !TARGET_API_MAC_CARBON_NOTYET
if (gusisioux_state == GUSISIOUX_STATE_LASTWRITE ||
gusisioux_state == GUSISIOUX_STATE_UNKNOWN )
keep = 1;