commit | e6c67a72637a9cb9166d702b02cff39877ac19bb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 04 10:47:59 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 04 10:47:59 1991 +0000 |
tree | 304bf77885066686527020dca1cce524f0dcb13b | |
parent | 054ff1f29e87ef5d01657027aa1148e4d65f7469 [diff] |
Added isatty() for MPW.
diff --git a/Python/pythonmain.c b/Python/pythonmain.c index aee8664..6602e2b 100644 --- a/Python/pythonmain.c +++ b/Python/pythonmain.c
@@ -425,6 +425,16 @@ return fd == fileno(stdin); } +#ifdef macintosh +/* same */ +int +isatty(fd) + int fd; +{ + return fd == fileno(stdin); +} +#endif + #endif /* XXX WISH LIST