[icinga-checkins] icinga.org: icinga2/master: Build fix for Windows.

git at icinga.org git at icinga.org
Fri Feb 1 19:36:46 CET 2013


Module: icinga2
Branch: master
Commit: 66f28ae02b763f6aee9781677f63c55ffcbe0e4c
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=66f28ae02b763f6aee9781677f63c55ffcbe0e4c

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Feb  1 19:36:47 2013 +0100

Build fix for Windows.

---

 lib/base/application.cpp |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/lib/base/application.cpp b/lib/base/application.cpp
index 2851001..e856828 100644
--- a/lib/base/application.cpp
+++ b/lib/base/application.cpp
@@ -274,6 +274,18 @@ void Application::SetMainThread(void)
 	m_MainThreadID = boost::this_thread::get_id();
 }
 
+/**
+ * Displays a message that tells users what to do when they encounter a bug.
+ */
+void Application::DisplayBugMessage(void)
+{
+	std::cerr << "***" << std::endl
+		  << "*** This would indicate a bug in Icinga 2. Please submit a bug report at https://dev.icinga.org/ and include" << std::endl
+		  << "*** this stack trace as well as any other information that might be useful in order to reproduce this problem." << std::endl
+		  << "***" << std::endl
+		  << std::endl;
+}
+
 #ifndef _WIN32
 /**
  * Signal handler for SIGINT. Prepares the application for cleanly
@@ -299,18 +311,6 @@ void Application::SigIntHandler(int signum)
 }
 
 /**
- * Displays a message that tells users what to do when they encounter a bug.
- */
-void Application::DisplayBugMessage(void)
-{
-	std::cerr << "***" << std::endl
-		  << "*** This would indicate a bug in Icinga 2. Please submit a bug report at https://dev.icinga.org/ and include" << std::endl
-		  << "*** this stack trace as well as any other information that might be useful in order to reproduce this problem." << std::endl
-		  << "***" << std::endl
-		  << std::endl;
-}
-
-/**
  * Signal handler for SIGABRT. Helps with debugging assert()s.
  *
  * @param signum The signal number.





More information about the icinga-checkins mailing list