diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-11-10 20:13:17 +0200 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-11-10 20:13:17 +0200 |
commit | ebbca6470aa04c29712d92f6b52467188663e055 (patch) | |
tree | 13b62d698ebc48d9efa1d65991744c71f9ff407e /indra/llmath/llinterp.h | |
parent | f15767bbef4e0a87aa032e265b3a0a8d4db907e1 (diff) | |
parent | c673ef4a913691cea8e94b688937084edb821f68 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/llmath/llinterp.h')
-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 |