summaryrefslogtreecommitdiffstats
path: root/src/2geom/sbasis.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-04-01 20:26:37 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-04-02 20:10:02 +0000
commitc08df128f0fdf5195eecc91e77ba72b0c60b6a47 (patch)
tree0caef8c7641aee795b028099d2047b55da7cbd5e /src/2geom/sbasis.cpp
parentUpdate CMakeLists.txt (diff)
downloadinkscape-c08df128f0fdf5195eecc91e77ba72b0c60b6a47.tar.gz
inkscape-c08df128f0fdf5195eecc91e77ba72b0c60b6a47.zip
2geom: update to 7e3b3f75023c7c69fd085574cfaa46de0213bbbc
Diffstat (limited to 'src/2geom/sbasis.cpp')
-rw-r--r--src/2geom/sbasis.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/2geom/sbasis.cpp b/src/2geom/sbasis.cpp
index 0f4159e94..3efc22702 100644
--- a/src/2geom/sbasis.cpp
+++ b/src/2geom/sbasis.cpp
@@ -36,7 +36,11 @@
#include <2geom/sbasis.h>
#include <2geom/math-utils.h>
-namespace Geom{
+namespace Geom {
+
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
/** bound the error from term truncation
\param tail first term to chop