summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-11-15 19:31:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-11-15 19:31:20 (GMT)
commit0b6e717a44dff02a2ce046473bbe798a8e07d6c9 (patch)
tree926c9c2655af85d9275fb6665b9ec2fa628f2093 /generic/tkMain.c
parentab074760921c8bd030d145b68aadf3992117d920 (diff)
downloadtk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.zip
tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.tar.gz
tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.tar.bz2
More complete purge of things only present for supporting long-dead Mac 9 systems.
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