]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/IGESExport/IGESExport.cxx
Salome HOME
ENV: Windows porting.
[modules/geom.git] / src / IGESExport / IGESExport.cxx
index 8ce7f9933a6bd6bef99a5da29f435253cdcda1fc..463f31c966cc3b8f460dfd11576c90e86fd67b33 100644 (file)
 #include <TCollection_AsciiString.hxx>
 #include <TopoDS_Shape.hxx>
 
+#ifdef WNT
+#include <SALOME_WNT.hxx>
+#else
+#define SALOME_WNT_EXPORT
+#endif
+
 //=============================================================================
 /*!
  *
@@ -20,9 +26,7 @@
 
 extern "C"
 {
-#ifdef WNT
-  __declspec(__dllexport)
-#endif
+SALOME_WNT_EXPORT
   int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
   {
     MESSAGE("Export IGES into file " << theFileName.ToCString());