mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Added isatty() for MPW.
This commit is contained in:
parent
054ff1f29e
commit
e6c67a7263
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user