Salome HOME
Using AutoTools for building procedure
[modules/geom.git] / src / IGESImport / IGESImport.cxx
index 3a59922c9712f147abf5f9cd412cf31fd319a1f3..c5fe987cac93f5518d145cc15e108502caca7d5d 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:       IGESImport.cxx
 // Created:    Wed May 19 14:36:35 2004
 #include <TopoDS_Shape.hxx>
 
 #ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined IGESIMPORT_EXPORTS
+  #if defined WIN32
+   #define IGESIMPORT_EXPORT __declspec( dllexport )
+  #else
+   #define IGESIMPORT_EXPORT
+  #endif
+ #else
+  #if defined WIN32
+   #define IGESIMPORT_EXPORT __declspec( dllimport )
+  #else
+   #define IGESIMPORT_EXPORT
+  #endif
+ #endif
 #else
-#define SALOME_WNT_EXPORT
+ #define IGESIMPORT_EXPORT
 #endif
 
 //=============================================================================
@@ -44,8 +56,9 @@
 
 extern "C"
 {
-SALOME_WNT_EXPORT
+IGESIMPORT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
+                       const TCollection_AsciiString& /*theFormatName*/,
                        TCollection_AsciiString&       theError)
   {
     IGESControl_Reader aReader;