summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-22 08:20:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-22 08:20:03 (GMT)
commit5420a19e5c690cb9c96babceac44c26ff6f2167d (patch)
tree09d42b476605f7860fbaebb136d4f8e144f14159 /generic/tclMain.c
parent68d8dd01a2433624b814b9b3fa5a2a7438d4e547 (diff)
parent256865fe128c764644470f0250d960bdf1d51925 (diff)
downloadtcl-5420a19e5c690cb9c96babceac44c26ff6f2167d.zip
tcl-5420a19e5c690cb9c96babceac44c26ff6f2167d.tar.gz
tcl-5420a19e5c690cb9c96babceac44c26ff6f2167d.tar.bz2
merge trunk
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 82a5df3..70f705b 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.