Skip to content

Commit

Permalink
include <mapnik/global.hpp> for M_PI on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jan 22, 2016
1 parent e182dd3 commit 8ecbe0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bench/vtile-encode.cpp
Expand Up @@ -13,6 +13,7 @@
#include <fstream>

// mapnik
#include <mapnik/global.hpp>
#include <mapnik/box2d.hpp>
#include <mapnik/well_known_srs.hpp>
#include <mapnik/json/geometry_parser.hpp>
Expand All @@ -24,10 +25,6 @@

#include <protozero/pbf_reader.hpp>

#ifndef M_PI
#define M_PI 3.141592653589793238462643
#endif

typedef mapnik::vector_tile_impl::backend_pbf backend_type;
typedef mapnik::vector_tile_impl::processor<backend_type> renderer_type;

Expand Down

0 comments on commit 8ecbe0b

Please sign in to comment.