summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 15:24:47 (GMT)
commitfb2765666f23434061e5def1aa8392797edf1f43 (patch)
treede935c5b77d6b50ad326dd41c94294ebd00e9cfa /Modules/main.c
parent61963220666a79d5c1811991a31261a5d993bcdb (diff)
downloadcpython-fb2765666f23434061e5def1aa8392797edf1f43.zip
cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.gz
cpython-fb2765666f23434061e5def1aa8392797edf1f43.tar.bz2
Getting rid of support for the ancient Apple MPW compiler.
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 91818e0..68a82c7 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -327,7 +327,6 @@ Py_Main(int argc, char **argv)
_setmode(fileno(stdin), O_BINARY);
_setmode(fileno(stdout), O_BINARY);
#endif
-#ifndef MPW
#ifdef HAVE_SETVBUF
setvbuf(stdin, (char *)NULL, _IONBF, BUFSIZ);
setvbuf(stdout, (char *)NULL, _IONBF, BUFSIZ);
@@ -337,12 +336,6 @@ Py_Main(int argc, char **argv)
setbuf(stdout, (char *)NULL);
setbuf(stderr, (char *)NULL);
#endif /* !HAVE_SETVBUF */
-#else /* MPW */
- /* On MPW (3.2) unbuffered seems to hang */
- setvbuf(stdin, (char *)NULL, _IOLBF, BUFSIZ);
- setvbuf(stdout, (char *)NULL, _IOLBF, BUFSIZ);
- setvbuf(stderr, (char *)NULL, _IOLBF, BUFSIZ);
-#endif /* MPW */
}
else if (Py_InteractiveFlag) {
#ifdef MS_WINDOWS