]> granicus.if.org Git - icinga2/commitdiff
Build fix for Windows.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 1 Feb 2013 18:36:47 +0000 (19:36 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 1 Feb 2013 18:36:47 +0000 (19:36 +0100)
lib/base/application.cpp

index 2851001baf43bb4b7acc95bdfd6e53f664e8c353..e8568282dd7b1b2efdbeb1b895200f6771a8c542 100644 (file)
@@ -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
@@ -298,18 +310,6 @@ void Application::SigIntHandler(int signum)
        sigaction(SIGINT, &sa, NULL);
 }
 
-/**
- * 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.
  *