From 1e70af3c5ad20f61df136c77ffd5ee13e2ce64f0 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 19 Oct 2011 15:32:25 +0100 Subject: [PATCH] use M_PI from --- include/mapnik/svg/svg_path_commands.hpp | 7 +++---- include/mapnik/svg/svg_transform_grammar.hpp | 8 ++------ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/include/mapnik/svg/svg_path_commands.hpp b/include/mapnik/svg/svg_path_commands.hpp index 63680bd35..b5e01b5da 100644 --- a/include/mapnik/svg/svg_path_commands.hpp +++ b/include/mapnik/svg/svg_path_commands.hpp @@ -23,15 +23,14 @@ #ifndef SVG_COMMANDS_HPP #define SVG_COMMANDS_HPP +// mapnik +#include +// #include #include #include #include -#ifdef _WINDOWS -#define _USE_MATH_DEFINES -#include -#endif namespace mapnik { namespace svg { diff --git a/include/mapnik/svg/svg_transform_grammar.hpp b/include/mapnik/svg/svg_transform_grammar.hpp index a928b8a92..8f8c7f03f 100644 --- a/include/mapnik/svg/svg_transform_grammar.hpp +++ b/include/mapnik/svg/svg_transform_grammar.hpp @@ -25,7 +25,8 @@ #ifndef SVG_TRANSFORM_GRAMMAR_HPP #define SVG_TRANSFORM_GRAMMAR_HPP - +// mapnik +#include // agg #include // spirit @@ -35,11 +36,6 @@ #include #include -#ifdef _WINDOWS -#define _USE_MATH_DEFINES -#include -#endif - namespace mapnik { namespace svg { using namespace boost::spirit;