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 <TopoDS_Shape.hxx>
#ifdef WNT
#if defined BREPIMPORT_EXPORTS
#if defined WIN32
#define BREPIMPORT_EXPORT __declspec( dllexport )
#else
#define BREPIMPORT_EXPORT
#endif
#else
#if defined WIN32
#define BREPIMPORT_EXPORT __declspec( dllimport )
#else
#define BREPIMPORT_EXPORT
#endif
#endif
#ifdef WIN32
# ifdef BREPIMPORT_EXPORTS
# define BREPIMPORT_EXPORT __declspec( dllexport )
# else
# define BREPIMPORT_EXPORT __declspec( dllimport )
# endif
#else
#define BREPIMPORT_EXPORT
# define BREPIMPORT_EXPORT
#endif
//=============================================================================