]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Test EXPORTS definition with target name as suggested by cmake
authoradam <adam>
Fri, 6 Mar 2009 15:11:53 +0000 (15:11 +0000)
committeradam <adam>
Fri, 6 Mar 2009 15:11:53 +0000 (15:11 +0000)
src/GUI/NETGENPluginGUI.h
src/NETGENPlugin/NETGENPlugin_Defs.hxx

index ca882b4b6c8be9d49889d1b2d68825992f6c52a7..8d68dce9088dc5e542c0d552144a53c946072ef5 100755 (executable)
@@ -26,7 +26,7 @@
 //  $Header: 
 //
 #ifdef WIN32
-  #ifdef NETGENPLUGIN_GUI_EXPORTS
+  #if defined NETGENPLUGIN_GUI_EXPORTS || defined NETGENPluginGUI_EXPORTS
     #define NETGENPLUGIN_GUI_EXPORT __declspec( dllexport )
   #else
     #define NETGENPLUGIN_GUI_EXPORT __declspec( dllimport )
index 2eb36ace02f5822b5709c76184c6cb33b7e16a42..4d2f19991b9ec90ec8f153dbd8b39c7b55351833 100755 (executable)
@@ -27,7 +27,7 @@
 #define _NETGENPlugin_DEFS_HXX_
 
 #ifdef WIN32
-  #ifdef NETGENPLUGIN_EXPORTS
+  #if defined NETGENPLUGIN_EXPORTS || defined NETGENEngine_EXPORTS
     #define NETGENPLUGIN_EXPORT __declspec( dllexport )
   #else
     #define NETGENPLUGIN_EXPORT __declspec( dllimport )