Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/geom.git] / src / BREPImport / BREPImport.cxx
index 7604c6b6f5346fbe90a27a1c861bb6480aaabce5..cd78468bad78772d030b07da48d88f735cbb9f39 100644 (file)
 #include <TopoDS_Shape.hxx>
 
 #ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined BREPIMPORT_EXPORTS
+  #if defined WIN32
+   #define BREPIMPORT_EXPORT __declspec( dllexport )
+  #else
+   #define BREPIMPORT_EXPORT
+  #endif
+ #else
+  #if defined WIN32
+   #define BREPIMPORT_EXPORT __declspec( dllimport )
+  #else
+   #define BREPIMPORT_EXPORT
+  #endif
+ #endif
 #else
-#define SALOME_WNT_EXPORT
+ #define BREPIMPORT_EXPORT
 #endif
 
 //=============================================================================
@@ -44,7 +56,7 @@
 
 extern "C"
 {
-SALOME_WNT_EXPORT
+BREPIMPORT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
                        const TCollection_AsciiString& /*theFormatName*/,
                        TCollection_AsciiString&       theError)