summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-17 17:03:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-17 17:03:49 (GMT)
commit37cc146f7519bf3d0dda8573a541121f0465b035 (patch)
tree54011944ce4bd3b97d05673852e00cd673cf9b4e /win/tclWinFile.c
parent9abf419e0a98d9899afc590df3592a4238c3ac13 (diff)
downloadtcl-37cc146f7519bf3d0dda8573a541121f0465b035.zip
tcl-37cc146f7519bf3d0dda8573a541121f0465b035.tar.gz
tcl-37cc146f7519bf3d0dda8573a541121f0465b035.tar.bz2
Fix [42b8083613]
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 1d9f93a..31fa603 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -18,6 +18,10 @@
#include <shlobj.h>
#include <lm.h> /* For TclpGetUserHome(). */
+#if defined(_MSC_VER)
+# define vsnprintf _vsnprintf
+#endif
+
/*
* The number of 100-ns intervals between the Windows system epoch (1601-01-01
* on the proleptic Gregorian calendar) and the Posix epoch (1970-01-01).