diff options
Diffstat (limited to 'src/2geom/sbasis.cpp')
| -rw-r--r-- | src/2geom/sbasis.cpp | 6 |
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 |
