]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/STEPImport/STEPImport.cxx
Salome HOME
ENV: Windows porting.
[modules/geom.git] / src / STEPImport / STEPImport.cxx
index 02a0dd823b2e6a8b04fbb8627370e204ce1900e1..6535241261f675e39ceccae967cd01b3f136e695 100644 (file)
 
 #include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
 
+#ifdef WNT
+#include <SALOME_WNT.hxx>
+#else
+#define SALOME_WNT_EXPORT
+#endif
+
 //=============================================================================
 /*!
  *  Import()
@@ -25,9 +31,7 @@
 
 extern "C"
 {
-#ifdef WNT
-  __declspec(__dllexport)
-#endif
+SALOME_WNT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
                        TCollection_AsciiString&       theError)
   {