mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-01 04:10:34 +05:00
Right EXPORT defines.
This commit is contained in:
parent
131efcc698
commit
7f71b7984f
@ -29,10 +29,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
|
||||
|
||||
//=============================================================================
|
||||
@ -43,7 +47,7 @@
|
||||
|
||||
extern "C"
|
||||
{
|
||||
SALOME_WNT_EXPORT
|
||||
STLEXPORT_EXPORT
|
||||
int Export(const TopoDS_Shape& theShape,
|
||||
const TCollection_AsciiString& theFileName,
|
||||
const TCollection_AsciiString& theFormatName)
|
||||
|
Loading…
Reference in New Issue
Block a user