use M_PI from <mapnik/global.hpp>
This commit is contained in:
parent
9088d7bbc8
commit
1e70af3c5a
2 changed files with 5 additions and 10 deletions
|
@ -23,15 +23,14 @@
|
|||
#ifndef SVG_COMMANDS_HPP
|
||||
#define SVG_COMMANDS_HPP
|
||||
|
||||
// mapnik
|
||||
#include <mapnik/global.hpp>
|
||||
//
|
||||
#include <boost/spirit/include/qi.hpp>
|
||||
#include <boost/spirit/include/phoenix_function.hpp>
|
||||
#include <boost/spirit/include/phoenix_core.hpp>
|
||||
#include <boost/spirit/include/phoenix_operator.hpp>
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
namespace mapnik { namespace svg {
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
#ifndef SVG_TRANSFORM_GRAMMAR_HPP
|
||||
#define SVG_TRANSFORM_GRAMMAR_HPP
|
||||
|
||||
|
||||
// mapnik
|
||||
#include <mapnik/global.hpp>
|
||||
// agg
|
||||
#include <agg_trans_affine.h>
|
||||
// spirit
|
||||
|
@ -35,11 +36,6 @@
|
|||
#include <boost/spirit/include/phoenix_operator.hpp>
|
||||
#include <boost/spirit/home/phoenix/object/construct.hpp>
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
namespace mapnik { namespace svg {
|
||||
|
||||
using namespace boost::spirit;
|
||||
|
|
Loading…
Reference in a new issue