summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
diff options
context:
space:
mode:
authordas <das>2004-03-17 18:15:28 (GMT)
committerdas <das>2004-03-17 18:15:28 (GMT)
commit4cef3cd95fe271a0c4ff5081c625fa29e649efa9 (patch)
treea4d842ff3e2a8fc34e8fd25e2322f00537fdfae9 /generic/tkMain.c
parentb9ad7407b786c017d8102f41044f03b5af98ff00 (diff)
downloadtk-4cef3cd95fe271a0c4ff5081c625fa29e649efa9.zip
tk-4cef3cd95fe271a0c4ff5081c625fa29e649efa9.tar.gz
tk-4cef3cd95fe271a0c4ff5081c625fa29e649efa9.tar.bz2
Removed support for Mac OS Classic platform [Patch 918139]
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r--generic/tkMain.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index 2cb9ec1..d723218 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMain.c,v 1.16 2003/09/05 22:44:39 dgp Exp $
+ * RCS: @(#) $Id: tkMain.c,v 1.17 2004/03/17 18:15:43 das Exp $
*/
#include <ctype.h>
@@ -55,11 +55,7 @@ static Tcl_ThreadDataKey dataKey;
*/
#if !defined(__WIN32__) && !defined(_WIN32)
-#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
@@ -126,7 +122,7 @@ Tk_MainEx(argc, argv, appInitProc, interp)
Tcl_FindExecutable(argv[0]);
tsdPtr->interp = interp;
-#if (defined(__WIN32__) || defined(MAC_TCL))
+#if defined(__WIN32__)
Tk_InitConsoleChannels(interp);
#endif