Right EXPORT defines.

This commit is contained in:
abd 2008-12-02 13:09:07 +00:00
parent 752f476c73
commit 1d264c1784

View File

@ -31,10 +31,14 @@
#include <TCollection_AsciiString.hxx>
#include <TopoDS_Shape.hxx>
#ifdef WNT
#include <SALOME_WNT.hxx>
#ifdef WIN32
# if defined STLEXPORT_EXPORTS
# define STLEXPORT_EXPORT __declspec( dllexport )
# else
# define STLEXPORT_EXPORT __declspec( dllimport )
# endif
#else
#define SALOME_WNT_EXPORT
# define STLEXPORT_EXPORT
#endif
//=============================================================================
@ -45,7 +49,7 @@
extern "C"
{
SALOME_WNT_EXPORT
STLEXPORT_EXPORT
int Export(const TopoDS_Shape& theShape,
const TCollection_AsciiString& theFileName,
const TCollection_AsciiString& theFormatName)