From 1c8a12ee61a00da103fe79bcc52f30a9a71bdc25 Mon Sep 17 00:00:00 2001 From: Martijn Berger Date: Thu, 2 Jan 2014 22:19:10 +0100 Subject: Fix T37987: MSVC 2013 has C99 headers and warns for out define hypot _hypot for good reason it seems --- intern/smoke/intern/tnt/tnt_math_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/smoke') diff --git a/intern/smoke/intern/tnt/tnt_math_utils.h b/intern/smoke/intern/tnt/tnt_math_utils.h index e0bf4839733..d96a0aefcd7 100644 --- a/intern/smoke/intern/tnt/tnt_math_utils.h +++ b/intern/smoke/intern/tnt/tnt_math_utils.h @@ -7,7 +7,7 @@ /* needed for fabs, sqrt() below */ #include -#ifdef _WIN32 +#if (defined _WIN32) && (_MSC_VER < 1800) #define hypot _hypot #endif -- cgit v1.2.3