summaryrefslogtreecommitdiffstats
path: root/src/2geom/polynomial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/polynomial.cpp')
-rw-r--r--src/2geom/polynomial.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/2geom/polynomial.cpp b/src/2geom/polynomial.cpp
index 7009be1a2..e853b9a81 100644
--- a/src/2geom/polynomial.cpp
+++ b/src/2geom/polynomial.cpp
@@ -43,6 +43,10 @@
namespace Geom {
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+
Poly Poly::operator*(const Poly& p) const {
Poly result;
result.resize(degree() + p.degree()+1);