]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
correction of compilation on Windows
authorasl <asl@opencascade.com>
Mon, 15 Jun 2015 09:47:54 +0000 (12:47 +0300)
committerasl <asl@opencascade.com>
Mon, 15 Jun 2015 09:47:54 +0000 (12:47 +0300)
src/HYDROData/shapelib/shapefil.h

index 83aaf0d27ae0d2c2278653b4cb3d1e021d34ddc7..1df356cf8a27112055e08de56b09bc78ab807ba9 100644 (file)
@@ -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)