diff --git a/src/geojson_processor.cpp b/src/geojson_processor.cpp index ae5ba859..7652e5a3 100644 --- a/src/geojson_processor.cpp +++ b/src/geojson_processor.cpp @@ -16,6 +16,10 @@ extern bool verbose; namespace geom = boost::geometry; +#ifdef _MSC_VER +#define stat64 __stat64 +#endif + long getFileSize(std::string filename) { struct stat64 statBuf; int rc = stat64(filename.c_str(), &statBuf);