summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r--generic/tkMain.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index 365e0d1..5e5ddb7 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -96,11 +96,7 @@ static int WinIsTty(int fd) {
}
}
#else
-#if !defined(MAC_TCL)
extern int isatty _ANSI_ARGS_((int fd));
-#else
-#include <unistd.h>
-#endif
extern char * strrchr _ANSI_ARGS_((CONST char *string, int c));
#endif
@@ -193,7 +189,7 @@ Tk_MainEx(argc, argv, appInitProc, interp)
/* Only initialize console when not running under cygwin */
Tk_InitConsoleChannels(interp);
}
-#elif defined(__WIN32__) || defined(MAC_TCL)
+#elif defined(__WIN32__)
Tk_InitConsoleChannels(interp);
#endif