summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
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/tclWinPort.h
parent9abf419e0a98d9899afc590df3592a4238c3ac13 (diff)
downloadtcl-37cc146f7519bf3d0dda8573a541121f0465b035.zip
tcl-37cc146f7519bf3d0dda8573a541121f0465b035.tar.gz
tcl-37cc146f7519bf3d0dda8573a541121f0465b035.tar.bz2
Fix [42b8083613]
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 026cf9e..61f149b 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -466,16 +466,12 @@ typedef DWORD_PTR * PDWORD_PTR;
* including the *printf family and others. Tell it to shut up.
* (_MSC_VER is 1200 for VC6, 1300 or 1310 for vc7.net, 1400 for 8.0)
*/
-#if defined(_MSC_VER)
-# if _MSC_VER >= 1400
-# pragma warning(disable:4244)
-# pragma warning(disable:4267)
-# pragma warning(disable:4996)
-# endif
-# define vsnprintf _vsnprintf
+#if defined(_MSC_VER) && (_MSC_VER >= 1400)
+# pragma warning(disable:4244)
+# pragma warning(disable:4267)
+# pragma warning(disable:4996)
#endif
-
/*
*---------------------------------------------------------------------------
* The following macros and declarations represent the interface between