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:
authorNathan Letwory <nathan@letworyinteractive.com>2009-09-06 17:20:05 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2009-09-06 17:20:05 +0400
commitfb649d5824ccccca544c905209ba64340dc1bded (patch)
treeac9894e159f91ffe65c41612779711fbc3525cac /intern/smoke
parent51aa207d200d2cef1cdc7f4e90a6a0f7a4b31c8e (diff)
* cleaning up warnings (mostly windows). A collection of other warning fixes too (undefined function, assuming int, etc.)
This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
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
{