X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FIGESImport%2FIGESImport.cxx;h=c5fe987cac93f5518d145cc15e108502caca7d5d;hb=fb35bf812dbe58da639cab14711f98c48a64d00c;hp=3a59922c9712f147abf5f9cd412cf31fd319a1f3;hpb=a62a321c849518376e3aa4d24a0b902a24167c64;p=modules%2Fgeom.git diff --git a/src/IGESImport/IGESImport.cxx b/src/IGESImport/IGESImport.cxx index 3a59922c9..c5fe987ca 100644 --- a/src/IGESImport/IGESImport.cxx +++ b/src/IGESImport/IGESImport.cxx @@ -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 @@ -31,9 +31,21 @@ #include #ifdef WNT -#include + #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;