diff options
author | das <das> | 2001-11-23 02:04:08 (GMT) |
---|---|---|
committer | das <das> | 2001-11-23 02:04:08 (GMT) |
commit | aa409cc42da819e8ab1d081e7a1f175b33c1c2cf (patch) | |
tree | 0d0864ac4fc0b0ff178f5869f1600d2c584109c8 /generic/tkMain.c | |
parent | 5efa25f6e1ad2a687cac8c1caab6d8c10f978269 (diff) | |
download | tk-aa409cc42da819e8ab1d081e7a1f175b33c1c2cf.zip tk-aa409cc42da819e8ab1d081e7a1f175b33c1c2cf.tar.gz tk-aa409cc42da819e8ab1d081e7a1f175b33c1c2cf.tar.bz2 |
** upport to 8.4 of mac code changes for 8.3.3 & various new
** changes for 8.4, some already backported to 8.3.4 (patch #435660)
see ChangeLog for details
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r-- | generic/tkMain.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c index 42d31f1..4fad91e 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.9 2001/09/24 22:14:38 dgp Exp $ + * RCS: @(#) $Id: tkMain.c,v 1.10 2001/11/23 02:06:48 das Exp $ */ #include <ctype.h> @@ -55,7 +55,11 @@ 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 extern void TkpDisplayWarning _ANSI_ARGS_((char *msg, |