Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #661: support of transparency in LCM
[modules/hydro.git]
/
src
/
shapelib
/
shapefil.h
diff --git
a/src/shapelib/shapefil.h
b/src/shapelib/shapefil.h
index 2a9a96a0aba44a433c3bb6cc56f95ae5c42e1c73..15e6c3c8d80444a7c302d3fcfa7c4c354f727efc 100644
(file)
--- a/
src/shapelib/shapefil.h
+++ b/
src/shapelib/shapefil.h
@@
-200,6
+200,7
@@
extern "C" {
#define SHAPELIB_DLLEXPORT 1
#endif
#define SHAPELIB_DLLEXPORT 1
#endif
+#ifdef WIN32
#ifdef SHAPELIB_DLLEXPORT
# define SHPAPI_CALL __declspec(dllexport)
# define SHPAPI_CALL1(x) __declspec(dllexport) x
#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
# define SHPAPI_CALL __declspec(dllimport)
# define SHPAPI_CALL1(x) __declspec(dllimport) x
#endif
+#endif
#ifndef SHPAPI_CALL
# if defined(USE_GCC_VISIBILITY_FLAG)
#ifndef SHPAPI_CALL
# if defined(USE_GCC_VISIBILITY_FLAG)