summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonmain.c10
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