mirror of https://github.com/Icinga/icinga2.git
Build fix for Windows.
This commit is contained in:
parent
093931a1d3
commit
86c0aff719
|
@ -24,8 +24,6 @@
|
|||
# define ICINGA_VERSION VERSION ", " GIT_MESSAGE
|
||||
|
||||
# include <ltdl.h>
|
||||
#else /* _WIN32 */
|
||||
# define ICINGA_VERSION VERSION
|
||||
#endif /* _WIN32 */
|
||||
|
||||
using namespace icinga;
|
||||
|
@ -51,7 +49,11 @@ int main(int argc, char **argv)
|
|||
* in the base library. */
|
||||
Application::SetMainThread();
|
||||
|
||||
Logger::Write(LogInformation, "icinga", "Icinga application loader (version: " ICINGA_VERSION ")");
|
||||
Logger::Write(LogInformation, "icinga", "Icinga application loader"
|
||||
#ifndef _WIN32
|
||||
" (version: " ICINGA_VERSION ")"
|
||||
#endif /* _WIN32 */
|
||||
);
|
||||
|
||||
if (argc < 3 || strcmp(argv[1], "-c") != 0) {
|
||||
stringstream msgbuf;
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
<ClCompile Include="tcpclient.cpp" />
|
||||
<ClCompile Include="tcpserver.cpp" />
|
||||
<ClCompile Include="tcpsocket.cpp" />
|
||||
<ClCompile Include="threadpool.cpp" />
|
||||
<ClCompile Include="timer.cpp" />
|
||||
<ClCompile Include="tlsclient.cpp" />
|
||||
<ClCompile Include="unix.cpp" />
|
||||
|
@ -69,7 +68,6 @@
|
|||
<ClInclude Include="tcpclient.h" />
|
||||
<ClInclude Include="tcpserver.h" />
|
||||
<ClInclude Include="tcpsocket.h" />
|
||||
<ClInclude Include="threadpool.h" />
|
||||
<ClInclude Include="timer.h" />
|
||||
<ClInclude Include="tlsclient.h" />
|
||||
<ClInclude Include="unix.h" />
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
<ClCompile Include="tcpsocket.cpp">
|
||||
<Filter>Quelldateien</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="threadpool.cpp">
|
||||
<Filter>Quelldateien</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="timer.cpp">
|
||||
<Filter>Quelldateien</Filter>
|
||||
</ClCompile>
|
||||
|
@ -129,9 +126,6 @@
|
|||
<ClInclude Include="tcpsocket.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="threadpool.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="timer.h">
|
||||
<Filter>Headerdateien</Filter>
|
||||
</ClInclude>
|
||||
|
|
Loading…
Reference in New Issue