Win32 Porting.

Correction of Export/Import defines for Win32 platform.
This commit is contained in:
abd 2008-10-03 11:01:37 +00:00
parent 6b1734cdf5
commit 8d0541f686

View File

@ -30,22 +30,14 @@
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
#include <TopoDS_Shape.hxx> #include <TopoDS_Shape.hxx>
#ifdef WNT #ifdef WIN32
#if defined BREPIMPORT_EXPORTS # ifdef BREPIMPORT_EXPORTS
#if defined WIN32 # define BREPIMPORT_EXPORT __declspec( dllexport )
#define BREPIMPORT_EXPORT __declspec( dllexport ) # else
#else # define BREPIMPORT_EXPORT __declspec( dllimport )
#define BREPIMPORT_EXPORT # endif
#endif
#else
#if defined WIN32
#define BREPIMPORT_EXPORT __declspec( dllimport )
#else
#define BREPIMPORT_EXPORT
#endif
#endif
#else #else
#define BREPIMPORT_EXPORT # define BREPIMPORT_EXPORT
#endif #endif
//============================================================================= //=============================================================================