X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fshapelib%2Fshapefil.h;h=15e6c3c8d80444a7c302d3fcfa7c4c354f727efc;hb=015435649c14e69a097ddf92048b07d55b2eeda7;hp=2a9a96a0aba44a433c3bb6cc56f95ae5c42e1c73;hpb=7955e2d859ca9785e4b5b3f7bef3683fd129b556;p=modules%2Fhydro.git 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)