summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-08-17 07:39:43 +0000
committertavmjong-free <tavmjong@free.fr>2016-08-17 07:39:43 +0000
commit2f53e4dbb4620edcabaffc964c55cb71090912f8 (patch)
tree5c7119a28798a5d6b500ad092b92bf10720f80b1 /src/svg
parentAdd std::nothrow so tests of memory allocation work as expected. (diff)
downloadinkscape-2f53e4dbb4620edcabaffc964c55cb71090912f8.tar.gz
inkscape-2f53e4dbb4620edcabaffc964c55cb71090912f8.zip
Use M_PI, M_PI_2. We use these constants everywhere so if they are not defined we are already in trouble.
No need to define them ourselves (except maybe in shared libraries). (bzr r15063)
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/svg-affine.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/svg/svg-affine.cpp b/src/svg/svg-affine.cpp
index 21635c79b..76d89579d 100644
--- a/src/svg/svg-affine.cpp
+++ b/src/svg/svg-affine.cpp
@@ -24,10 +24,6 @@
#include "svg.h"
#include "preferences.h"
-#ifndef M_PI
-# define M_PI 3.14159265358979323846
-#endif
-
bool
sp_svg_transform_read(gchar const *str, Geom::Affine *transform)
{