diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-07-21 16:36:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-07-21 16:36:49 (GMT) |
commit | ba8f5e3b42ce9478f7888c65663d55f9cfd7bf4c (patch) | |
tree | d378b5cc15e600e89e85ea9ebf6c9e92123b1025 /win | |
parent | 825281a370de5345ff13fbb6c8fb612afb93295a (diff) | |
parent | 88e2731bdd4fc9b0efca660a91bf878850d4f6a1 (diff) | |
download | tcl-ba8f5e3b42ce9478f7888c65663d55f9cfd7bf4c.zip tcl-ba8f5e3b42ce9478f7888c65663d55f9cfd7bf4c.tar.gz tcl-ba8f5e3b42ce9478f7888c65663d55f9cfd7bf4c.tar.bz2 |
[Bug 3372130] Fix hypot math function with MSVC10
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPort.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 4fe8754..ca58470 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -454,7 +454,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__) |