summaryrefslogtreecommitdiff
path: root/indra/llmath/llinterp.h
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-10 17:52:28 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-10 17:52:28 -0800
commit98ca90bed46591573f5072121a774d19cc69381f (patch)
treee11d8e8b4459b8513c0495f76932c71385b1e062 /indra/llmath/llinterp.h
parent04eaf3f34fbc0b2ba7f6dd22600e8df1aaa63ed8 (diff)
parent2857dd026ce67f26f4da2f07ecffd8d6b754625c (diff)
Merge changes from 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