summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-09-23 16:37:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-09-23 16:37:06 (GMT)
commit773fea02280ffb98f9d79bec83e4121e92f1be28 (patch)
tree96bb15abcaf084d545a65c64ebc9da85434da8ae /generic/tclMain.c
parent4e12c83774ba3d73e4970089e9c04a886bdbae94 (diff)
parente52bf0ecd422e64401d71475c5995f18c49c8561 (diff)
downloadtcl-773fea02280ffb98f9d79bec83e4121e92f1be28.zip
tcl-773fea02280ffb98f9d79bec83e4121e92f1be28.tar.gz
tcl-773fea02280ffb98f9d79bec83e4121e92f1be28.tar.bz2
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 5e5109b..b2206f8 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -28,7 +28,10 @@
* source directory to make their own modified versions).
*/
+#if defined _MSC_VER && _MSC_VER < 1900
+/* isatty is always defined on MSVC 14.0, but not necessarily as CRTIMPORT. */
extern CRTIMPORT int isatty(int fd);
+#endif
static Tcl_Obj *tclStartupScriptPath = NULL;
static Tcl_Obj *tclStartupScriptEncoding = NULL;