From: Guido van Rossum Date: Thu, 4 Apr 1991 10:47:59 +0000 (+0000) Subject: Added isatty() for MPW. X-Git-Tag: v0.9.8~1004 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6c67a72637a9cb9166d702b02cff39877ac19bb;p=thirdparty%2FPython%2Fcpython.git Added isatty() for MPW. --- diff --git a/Python/pythonmain.c b/Python/pythonmain.c index aee8664b3060..6602e2b3d293 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