Skip to content

Commit

Permalink
satisfy windows build?
Browse files Browse the repository at this point in the history
  • Loading branch information
cldellow committed Jan 20, 2024
1 parent 5b8f009 commit 8db5cbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/geojson_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8db5cbe

Please sign in to comment.