use rint from global.hpp in windows

This commit is contained in:
Artem Pavlenko 2011-11-08 11:50:56 +00:00
parent 07a4135651
commit 3194707fd3

View file

@ -21,6 +21,7 @@
*****************************************************************************/ *****************************************************************************/
// mapnik // mapnik
#include <mapnik/global.hpp>
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include "gdal_featureset.hpp" #include "gdal_featureset.hpp"
@ -39,6 +40,9 @@ using mapnik::geometry_type;
using mapnik::datasource_exception; using mapnik::datasource_exception;
using mapnik::feature_factory; using mapnik::feature_factory;
#ifdef _WINDOWS
using mapnik::rint;
#endif
gdal_featureset::gdal_featureset(GDALDataset& dataset, gdal_featureset::gdal_featureset(GDALDataset& dataset,
int band, int band,