mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
Build fix for *NIX.
This commit is contained in:
parent
4814fed13a
commit
d87c1758d5
@ -91,7 +91,6 @@ void Component::Load(const string& name, const ConfigObject::Ptr& config)
|
|||||||
|
|
||||||
component->m_Name = name;
|
component->m_Name = name;
|
||||||
component->m_Config = config;
|
component->m_Config = config;
|
||||||
component->m_ModuleHandle = hModule;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
m_Components[name] = component;
|
m_Components[name] = component;
|
||||||
|
@ -56,12 +56,6 @@ private:
|
|||||||
string m_Name;
|
string m_Name;
|
||||||
ConfigObject::Ptr m_Config;
|
ConfigObject::Ptr m_Config;
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
HMODULE m_ModuleHandle;
|
|
||||||
#else /* _WIN32 */
|
|
||||||
lt_dlhandle m_ModuleHandle;
|
|
||||||
#endif /* _WIN32 */
|
|
||||||
|
|
||||||
static map<string, Component::Ptr> m_Components; /**< Components that
|
static map<string, Component::Ptr> m_Components; /**< Components that
|
||||||
were loaded by the application. */
|
were loaded by the application. */
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user