mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
fix compile with older boost
This commit is contained in:
parent
e649bb42cf
commit
baa0fa37b4
@ -174,11 +174,12 @@ void export_geometry()
|
||||
.value("Polygon",mapnik::Polygon)
|
||||
;
|
||||
|
||||
#if BOOST_VERSION >= 104700
|
||||
enum_<mapnik::util::wkbByteOrder>("wkbByteOrder")
|
||||
.value("XDR",mapnik::util::wkbXDR)
|
||||
.value("NDR",mapnik::util::wkbNDR)
|
||||
;
|
||||
|
||||
#endif
|
||||
|
||||
using mapnik::geometry_type;
|
||||
class_<geometry_type, std::auto_ptr<geometry_type>, boost::noncopyable>("Geometry2d",no_init)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user