summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:25:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:25:35 (GMT)
commitc5a232b9f953492bfdbce26efb16fa279335a7e5 (patch)
tree6287b83fb2da815ba2a085c6a55fde74e896ca52 /generic/tclMain.c
parente98db3a11856540e4e8e222fdb2fb6a0d16e8480 (diff)
parent74cd974b89d05dd8159d85d730e6aadaa34b3e27 (diff)
downloadtcl-c5a232b9f953492bfdbce26efb16fa279335a7e5.zip
tcl-c5a232b9f953492bfdbce26efb16fa279335a7e5.tar.gz
tcl-c5a232b9f953492bfdbce26efb16fa279335a7e5.tar.bz2
Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static UCRT build on Windows with VC 14.0
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 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.