mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Added isatty() for MPW.
This commit is contained in:
parent
054ff1f29e
commit
e6c67a7263
1 changed files with 10 additions and 0 deletions
|
@ -425,6 +425,16 @@ isatty(fd)
|
||||||
return fd == fileno(stdin);
|
return fd == fileno(stdin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef macintosh
|
||||||
|
/* same */
|
||||||
|
int
|
||||||
|
isatty(fd)
|
||||||
|
int fd;
|
||||||
|
{
|
||||||
|
return fd == fileno(stdin);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* XXX WISH LIST
|
/* XXX WISH LIST
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue