Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 30968:b6c139544c16 legacy-trunk
Getting rid of support for the ancient Apple MPW compiler.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 19 Nov 2003 15:24:47 +0000 |
| parents | a29a585b03d9 |
| children | 86fdf8fe7f17 |
line wrap: on
line diff
--- a/Python/pythonrun.c Wed Nov 19 14:55:33 2003 +0000 +++ b/Python/pythonrun.c Wed Nov 19 15:24:47 2003 +0000 @@ -1566,18 +1566,6 @@ 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
