summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-02-02 14:27:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-02-02 14:27:31 (GMT)
commitc76fd39587f428f970987773306759b46a9017cb (patch)
treedea0561f448f3019723c10700b9cf315494f01e5 /Mac
parenta76382a6ac56b35def05f23740e55dc064eb15e7 (diff)
downloadcpython-c76fd39587f428f970987773306759b46a9017cb.zip
cpython-c76fd39587f428f970987773306759b46a9017cb.tar.gz
cpython-c76fd39587f428f970987773306759b46a9017cb.tar.bz2
Added stuff so CodeWarrior isn't so verbose about its stdio windows
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macmain.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 4bf193e..d13c883 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -41,6 +41,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <console.h>
#endif
+#ifdef __MWERKS__
+#include <SIOUX.h>
+#endif
+
char *fileargument;
main(argc, argv)
@@ -64,6 +68,11 @@ main(argc, argv)
a better way!) */
printf("\n");
#endif
+#ifdef __MWERKS__
+ SIOUXSettings.asktosaveonclose = 0;
+ SIOUXSettings.showstatusline = 0;
+ SIOUXSettings.tabspaces = 4;
+#endif
/* Use STDWIN's wargs() to set argc/argv to list of files to open */
wargs(&argc, &argv);
/* Put About Python... in Apple menu */