diff options
author | Guido van Rossum <guido@python.org> | 1991-04-04 10:47:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-04-04 10:47:59 (GMT) |
commit | e6c67a72637a9cb9166d702b02cff39877ac19bb (patch) | |
tree | 304bf77885066686527020dca1cce524f0dcb13b /Python/pythonmain.c | |
parent | 054ff1f29e87ef5d01657027aa1148e4d65f7469 (diff) | |
download | cpython-e6c67a72637a9cb9166d702b02cff39877ac19bb.zip cpython-e6c67a72637a9cb9166d702b02cff39877ac19bb.tar.gz cpython-e6c67a72637a9cb9166d702b02cff39877ac19bb.tar.bz2 |
Added isatty() for MPW.
Diffstat (limited to 'Python/pythonmain.c')
-rw-r--r-- | Python/pythonmain.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ isatty(fd) return fd == fileno(stdin); } +#ifdef macintosh +/* same */ +int +isatty(fd) + int fd; +{ + return fd == fileno(stdin); +} +#endif + #endif /* XXX WISH LIST |