mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-01 10:50:33 +05:00
Right EXPORT defines.
This commit is contained in:
parent
752f476c73
commit
1d264c1784
@ -31,10 +31,14 @@
|
|||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
|
|
||||||
#ifdef WNT
|
#ifdef WIN32
|
||||||
#include <SALOME_WNT.hxx>
|
# if defined STLEXPORT_EXPORTS
|
||||||
|
# define STLEXPORT_EXPORT __declspec( dllexport )
|
||||||
|
# else
|
||||||
|
# define STLEXPORT_EXPORT __declspec( dllimport )
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
#define SALOME_WNT_EXPORT
|
# define STLEXPORT_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
@ -45,7 +49,7 @@
|
|||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
SALOME_WNT_EXPORT
|
STLEXPORT_EXPORT
|
||||||
int Export(const TopoDS_Shape& theShape,
|
int Export(const TopoDS_Shape& theShape,
|
||||||
const TCollection_AsciiString& theFileName,
|
const TCollection_AsciiString& theFileName,
|
||||||
const TCollection_AsciiString& theFormatName)
|
const TCollection_AsciiString& theFormatName)
|
||||||
|
Loading…
Reference in New Issue
Block a user