Salome HOME
Using AutoTools for building procedure
[modules/geom.git] / src / IGESImport / IGESImport.cxx
index b6d2b953b8598e1ee4781f640043a08700494535..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,7 +56,7 @@
 
 extern "C"
 {
-SALOME_WNT_EXPORT
+IGESIMPORT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
                        const TCollection_AsciiString& /*theFormatName*/,
                        TCollection_AsciiString&       theError)