Salome HOME
Implementation Notebook in the GEOM.
[modules/geom.git] / src / BREPExport / BREPExport.cxx
index 2580cfac0a8438173624dd34a19ee4715630874e..c7d25b655a853788b4c665a66eabdb78e72360ea 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // File:       BREPExport.cxx
 // Created:    Wed May 19 13:10:05 2004
 #include <TopoDS_Shape.hxx>
 
 #ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined BREPEXPORT_EXPORTS
+  #if defined WIN32
+   #define BREPEXPORT_EXPORT __declspec( dllexport )
+  #else
+   #define BREPEXPORT_EXPORT
+  #endif
+ #else
+  #if defined WIN32
+   #define BREPEXPORT_EXPORT __declspec( dllimport )
+  #else
+   #define BREPEXPORT_EXPORT
+  #endif
+ #endif
 #else
-#define SALOME_WNT_EXPORT
+ #define BREPEXPORT_EXPORT
 #endif
 
 //=============================================================================
@@ -43,7 +55,7 @@
 
 extern "C"
 {
-SALOME_WNT_EXPORT
+BREPEXPORT_EXPORT
   int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
   {
     MESSAGE("Export BREP into file " << theFileName.ToCString());