]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
patch for compilation on Linux
authorasl <asl@opencascade.com>
Fri, 26 Jun 2015 09:43:26 +0000 (12:43 +0300)
committerasl <asl@opencascade.com>
Fri, 26 Jun 2015 09:43:26 +0000 (12:43 +0300)
src/shapelib/shapefil.h

index 2a9a96a0aba44a433c3bb6cc56f95ae5c42e1c73..15e6c3c8d80444a7c302d3fcfa7c4c354f727efc 100644 (file)
@@ -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)