From c5ea0932aa5028b0a3675fbeef6b1f6cdbd6a6c1 Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 15 Jun 2015 12:47:54 +0300 Subject: [PATCH] correction of compilation on Windows --- src/HYDROData/shapelib/shapefil.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/HYDROData/shapelib/shapefil.h b/src/HYDROData/shapelib/shapefil.h index 83aaf0d2..1df356cf 100644 --- a/src/HYDROData/shapelib/shapefil.h +++ b/src/HYDROData/shapelib/shapefil.h @@ -196,7 +196,9 @@ extern "C" { /* __declspec(dllexport) must appear before them. */ /* -------------------------------------------------------------------- */ -//#define SHAPELIB_DLLEXPORT 1 +#ifdef WIN32 + #define SHAPELIB_DLLEXPORT 1 +#endif #ifdef SHAPELIB_DLLEXPORT # define SHPAPI_CALL __declspec(dllexport) -- 2.39.2