fix compile with older boost
This commit is contained in:
parent
e649bb42cf
commit
baa0fa37b4
1 changed files with 2 additions and 1 deletions
|
@ -174,11 +174,12 @@ void export_geometry()
|
||||||
.value("Polygon",mapnik::Polygon)
|
.value("Polygon",mapnik::Polygon)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
#if BOOST_VERSION >= 104700
|
||||||
enum_<mapnik::util::wkbByteOrder>("wkbByteOrder")
|
enum_<mapnik::util::wkbByteOrder>("wkbByteOrder")
|
||||||
.value("XDR",mapnik::util::wkbXDR)
|
.value("XDR",mapnik::util::wkbXDR)
|
||||||
.value("NDR",mapnik::util::wkbNDR)
|
.value("NDR",mapnik::util::wkbNDR)
|
||||||
;
|
;
|
||||||
|
#endif
|
||||||
|
|
||||||
using mapnik::geometry_type;
|
using mapnik::geometry_type;
|
||||||
class_<geometry_type, std::auto_ptr<geometry_type>, boost::noncopyable>("Geometry2d",no_init)
|
class_<geometry_type, std::auto_ptr<geometry_type>, boost::noncopyable>("Geometry2d",no_init)
|
||||||
|
|
Loading…
Reference in a new issue