From 5c7170a3e6d65c7a1154182b26ce658560ea8fa7 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 24 Oct 2013 12:04:17 +0000 Subject: [PATCH] Add dll import/export on WIN32 platform. --- .../padder/meshjob/impl/MeshJobManager_i.hxx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx index a8b270547..f522c3604 100644 --- a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx +++ b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx @@ -33,8 +33,19 @@ #include #include -class MeshJobManager_i: public virtual POA_MESHJOB::MeshJobManager, - public Engines_Component_i +#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: MeshJobManager_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, -- 2.39.2