summaryrefslogtreecommitdiff
path: root/indra/llmath/llinterp.h
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-11-10 17:03:48 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-11-10 17:03:48 +0200
commitebfb32f35bfeb796b4971f66bd1a9ebdf88be854 (patch)
tree12a2fd956a69147758226f49a437a137f065410f /indra/llmath/llinterp.h
parent15372bbc342a7b4c7a8d9b2e1bedd52655232ba7 (diff)
parent5377f8628e7f3eda9f497db1c367099ca04726d0 (diff)
Merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llmath/llinterp.h')
-rw-r--r--indra/llmath/llinterp.h7
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