From: asl Date: Fri, 26 Jun 2015 09:43:26 +0000 (+0300) Subject: patch for compilation on Linux X-Git-Tag: v1.4.2~18^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=555faaef0f1b3ec5a311b913ea3e7087bc515e67;p=modules%2Fhydro.git patch for compilation on Linux --- diff --git a/src/shapelib/shapefil.h b/src/shapelib/shapefil.h index 2a9a96a0..15e6c3c8 100644 --- a/src/shapelib/shapefil.h +++ b/src/shapelib/shapefil.h @@ -200,6 +200,7 @@ extern "C" { #define SHAPELIB_DLLEXPORT 1 #endif +#ifdef WIN32 #ifdef SHAPELIB_DLLEXPORT # define SHPAPI_CALL __declspec(dllexport) # define SHPAPI_CALL1(x) __declspec(dllexport) x @@ -207,6 +208,7 @@ extern "C" { # define SHPAPI_CALL __declspec(dllimport) # define SHPAPI_CALL1(x) __declspec(dllimport) x #endif +#endif #ifndef SHPAPI_CALL # if defined(USE_GCC_VISIBILITY_FLAG)