Salome HOME
Windows porting
[tools/medcoupling.git] / src / MEDCoupling / MEDCoupling.hxx
index 89add71b616f825f476decb3ce8373918734dfff..391b9d378def0dbde3c208b76f11526510cfe66c 100644 (file)
@@ -22,7 +22,7 @@
 #define _MEDCOUPLING_HXX_
 
 #ifdef WIN32
-#  if defined medcoupling_EXPORTS
+#  if defined(medcoupling_EXPORTS) || defined(medcouplingcpp_EXPORTS) || defined(MEDCOUPLING_WIN32_SWIG)
 #    define MEDCOUPLING_EXPORT __declspec( dllexport )
 #  else
 #    define MEDCOUPLING_EXPORT __declspec( dllimport )