From: asl Date: Mon, 15 Jun 2015 09:47:54 +0000 (+0300) Subject: correction of compilation on Windows X-Git-Tag: v1.4.1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c5ea0932aa5028b0a3675fbeef6b1f6cdbd6a6c1;p=modules%2Fhydro.git correction of compilation on Windows --- 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)