Salome HOME
Test EXPORTS definition with target name as suggested by cmake
[modules/smesh.git] / src / SMESHGUI / SMESH_SMESHGUI.hxx
index 46a6cb93a2374914d28f7187f34e36b4590d661b..fb74c18284104862805d315508f60c434daf0578 100755 (executable)
@@ -26,7 +26,7 @@
 #define SMESH_SMESHGUI_HXX
 
 #ifdef WNT
- #if defined SMESHGUI_EXPORTS
+ #if defined SMESHGUI_EXPORTS || defined SMESH_EXPORTS
   #define SMESHGUI_EXPORT __declspec( dllexport )
  #else
   #define SMESHGUI_EXPORT __declspec( dllimport )