Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/smoke')
-rw-r--r--intern/smoke/intern/tnt/tnt_math_utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/smoke/intern/tnt/tnt_math_utils.h b/intern/smoke/intern/tnt/tnt_math_utils.h
index 6e14a1d9b90..f6aad8eaf38 100644
--- a/intern/smoke/intern/tnt/tnt_math_utils.h
+++ b/intern/smoke/intern/tnt/tnt_math_utils.h
@@ -4,7 +4,9 @@
/* needed for fabs, sqrt() below */
#include <cmath>
-
+#ifdef _WIN32
+#define hypot _hypot
+#endif
namespace TNT
{