Add dll import/export on WIN32 platform.

This commit is contained in:
rnv 2013-10-24 12:04:17 +00:00
parent 7cf5e26857
commit 5c7170a3e6

View File

@ -33,7 +33,18 @@
#include <string> #include <string>
#include <map> #include <map>
class MeshJobManager_i: public virtual POA_MESHJOB::MeshJobManager, #ifdef WIN32
#if defined MESHJOBMANAGERENGINE_EXPORTS || defined MeshJobManagerEngine_EXPORTS
#define MESHJOBMANAGERENGINE_EXPORT __declspec( dllexport )
#else
#define MESHJOBMANAGERENGINE_EXPORT __declspec( dllimport )
#endif
#else
#define MESHJOBMANAGERENGINE_EXPORT
#endif
class MESHJOBMANAGERENGINE_EXPORT MeshJobManager_i: public virtual POA_MESHJOB::MeshJobManager,
public Engines_Component_i public Engines_Component_i
{ {
public: public: