summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.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 /Python/pythonrun.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 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index ab6ed58..c09a3ff 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1566,18 +1566,6 @@ initsigs(void)
PyOS_InitInterrupts(); /* May imply initsignal() */
}
-#ifdef MPW
-
-/* Check for file descriptor connected to interactive device.
- Pretend that stdin is always interactive, other files never. */
-
-int
-isatty(int fd)
-{
- return fd == fileno(stdin);
-}
-
-#endif
/*
* The file descriptor fd is considered ``interactive'' if either