From 3194707fd32522d8017bddb32d3c82a0d168f4c6 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 8 Nov 2011 11:50:56 +0000 Subject: [PATCH] use rint from global.hpp in windows --- plugins/input/gdal/gdal_featureset.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/input/gdal/gdal_featureset.cpp b/plugins/input/gdal/gdal_featureset.cpp index fd8969b4f..1ab5c895f 100644 --- a/plugins/input/gdal/gdal_featureset.cpp +++ b/plugins/input/gdal/gdal_featureset.cpp @@ -21,6 +21,7 @@ *****************************************************************************/ // mapnik +#include #include #include "gdal_featureset.hpp" @@ -39,6 +40,9 @@ using mapnik::geometry_type; using mapnik::datasource_exception; using mapnik::feature_factory; +#ifdef _WINDOWS +using mapnik::rint; +#endif gdal_featureset::gdal_featureset(GDALDataset& dataset, int band,