diff --git a/bindings/python/mapnik_geometry.cpp b/bindings/python/mapnik_geometry.cpp index 13077e95b..2a3e74ee1 100644 --- a/bindings/python/mapnik_geometry.cpp +++ b/bindings/python/mapnik_geometry.cpp @@ -174,11 +174,12 @@ void export_geometry() .value("Polygon",mapnik::Polygon) ; +#if BOOST_VERSION >= 104700 enum_("wkbByteOrder") .value("XDR",mapnik::util::wkbXDR) .value("NDR",mapnik::util::wkbNDR) ; - +#endif using mapnik::geometry_type; class_, boost::noncopyable>("Geometry2d",no_init)