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-25 02:11:35 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2009-09-25 02:11:35 +0400
commitee6cf88d4d1571afd2a6922b09937efd9ab6b622 (patch)
treeb8f3b1dad5868c3b6c2082460e457efa9d094ecc /intern/itasc/kdl
parent1483fafd1372a3d3e025d08634e798adb7da512f (diff)
* some fixes to have scons/mingw compile the sources too, even with BF_DEBUG=1 and WITH_BF_GAMEENGINE=1
Diffstat (limited to 'intern/itasc/kdl')
-rw-r--r--intern/itasc/kdl/utilities/utility.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/itasc/kdl/utilities/utility.h b/intern/itasc/kdl/utilities/utility.h
index e7dcc55d8a8..9c38eacbceb 100644
--- a/intern/itasc/kdl/utilities/utility.h
+++ b/intern/itasc/kdl/utilities/utility.h
@@ -254,7 +254,8 @@ inline double Norm(double arg) {
return fabs( (double)arg );
}
-#ifdef __WIN32__
+
+#if defined(__WIN32__) && !defined(__GNUC__)
inline double hypot(double y,double x) { return ::_hypot(y,x);}
inline double abs(double x) { return ::fabs(x);}
#endif