From: Gunnar Beutner Date: Wed, 9 Oct 2013 13:09:17 +0000 (+0200) Subject: Build fix. X-Git-Tag: v0.0.3~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=039dbc7029cbc4fa390ae0695f9b365c3a0f22c7;p=icinga2 Build fix. --- diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 0dc9acfcd..2084c3cdf 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -309,11 +309,7 @@ int main(int argc, char **argv) return EXIT_SUCCESS; } - Log(LogInformation, "icinga-app", "Icinga application loader" -#ifndef _WIN32 - " (version: " ICINGA_VERSION ")" -#endif /* _WIN32 */ - ); + Log(LogInformation, "icinga-app", "Icinga application loader (version: " + Application::GetVersion() + ")"); String searchDir = Application::GetPkgLibDir(); Log(LogInformation, "base", "Adding library search dir: " + searchDir);