summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-07-21 16:19:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-07-21 16:19:11 (GMT)
commit5547130863ef858a3177ed6bbf63fa80a587ec4b (patch)
tree2778ce5e25383191b98d31a3bd772fc5e7890ccc /win/tclWinPort.h
parenta5cd0c254693b12d78c39cc4cddc07745e121668 (diff)
downloadtcl-5547130863ef858a3177ed6bbf63fa80a587ec4b.zip
tcl-5547130863ef858a3177ed6bbf63fa80a587ec4b.tar.gz
tcl-5547130863ef858a3177ed6bbf63fa80a587ec4b.tar.bz2
[Bug 3372130] Fix hypot math function with MSVC10
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index f228a22..0073f15 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -389,7 +389,9 @@
#if defined(_MSC_VER) || defined(__MINGW32__)
# define environ _environ
-# define hypot _hypot
+# if defined(_MSC_VER) && (_MSC_VER < 1600)
+# define hypot _hypot
+# endif*/
# define exception _exception
# undef EDEADLOCK
# if defined(__MINGW32__) && !defined(__MSVCRT__)