fix compile with older boost

This commit is contained in:
Dane Springmeyer 2012-01-06 16:22:39 -08:00
parent e649bb42cf
commit baa0fa37b4

View file

@ -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)