Salome HOME
Win32 porting: Add dllexport/import.
authorrnv <rnv@opencascade.com>
Tue, 29 Oct 2013 06:20:24 +0000 (06:20 +0000)
committerrnv <rnv@opencascade.com>
Tue, 29 Oct 2013 06:20:24 +0000 (06:20 +0000)
src/ATOMSOLVGUI/ATOMSOLVGUI.cxx

index 379cc61f20b7e218944b8d5d3ecb8e96b9e89ee6..37975b93d532bc2ad2f07529c4ce8bcb20b8d7c2 100644 (file)
@@ -426,11 +426,12 @@ void ATOMSOLVGUI::preferencesChanged( const QString& group, const QString& param
 
 // Export the module
 extern "C" {
+  ATOMSOLVGUI_EXPORT
   CAM_Module* createModule()
   {
     return new ATOMSOLVGUI();
   }
-  
+  ATOMSOLVGUI_EXPORT
   char* getModuleVersion() 
   {
     return (char*)ATOMSOLV_VERSION_STR;