summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:23:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:23:25 (GMT)
commit5dc66dd0c9ccf85ecb81eb37f7a83becb7d06c60 (patch)
tree0f23285bc58a4da5f205563b29da11021ddf33a1 /generic/tclMain.c
parentc6028b16417c1d65aa55cc7a1d060bc8fa348701 (diff)
downloadtcl-5dc66dd0c9ccf85ecb81eb37f7a83becb7d06c60.zip
tcl-5dc66dd0c9ccf85ecb81eb37f7a83becb7d06c60.tar.gz
tcl-5dc66dd0c9ccf85ecb81eb37f7a83becb7d06c60.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 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;