summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-25 14:07:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-25 14:07:11 (GMT)
commit4e778d0112fb867161ef4b24103c493e73ce757b (patch)
tree198d06f68805ded1e3198b14e62243835ab9b1ed /generic
parent50a8e5953a346e641c8c8b10fe1bb5010f26c1dc (diff)
parent5d964e0e6cf53fdbfb627ec0846131dae369f644 (diff)
downloadtcl-4e778d0112fb867161ef4b24103c493e73ce757b.zip
tcl-4e778d0112fb867161ef4b24103c493e73ce757b.tar.gz
tcl-4e778d0112fb867161ef4b24103c493e73ce757b.tar.bz2
merge trunk
Diffstat (limited to 'generic')
-rw-r--r--generic/tclMain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 360f5e9..c2300c2 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -80,7 +80,10 @@ NewNativeObj(
* 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
/*
* The thread-local variables for this file's functions.