diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-11-09 22:18:53 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-11-09 22:18:53 +0200 |
commit | d71a8ba8389e2dc174bf6db958f2fcc037163ffd (patch) | |
tree | 8465b0a8fcc05ad29c05ab05c3041f0c189b9f15 /indra/llmath | |
parent | 31cc68ecd373d4deae85bbd223f5d47ffef34a24 (diff) | |
parent | 622eb8643bcc4ec00de8e3927eb5629e0b5c6077 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llinterp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llmath/llinterp.h b/indra/llmath/llinterp.h index 8beeef480b..36ca2e9865 100644 --- a/indra/llmath/llinterp.h +++ b/indra/llmath/llinterp.h @@ -32,6 +32,13 @@ #ifndef LL_LLINTERP_H #define LL_LLINTERP_H +#if defined(LL_WINDOWS) +// macro definitions for common math constants (e.g. M_PI) are declared under the _USE_MATH_DEFINES +// on Windows system. +// So, let's define _USE_MATH_DEFINES before including math.h + #define _USE_MATH_DEFINES +#endif + #include "math.h" // Class from which different types of interpolators can be derived |