summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Application.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-10-24 12:09:40 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-10-24 12:09:40 +0000
commit0f605f57707d9a89cfcbf163a26d12aed1df2a7a (patch)
tree37565d78560ea3bb23e7e97a6476925f8b713be9 /cpp/src/Ice/Application.cpp
parentForgot to protect the constructor body from WIN32... (diff)
downloadice-0f605f57707d9a89cfcbf163a26d12aed1df2a7a.tar.bz2
ice-0f605f57707d9a89cfcbf163a26d12aed1df2a7a.tar.xz
ice-0f605f57707d9a89cfcbf163a26d12aed1df2a7a.zip
Define the signals and signalSet static attributes
Diffstat (limited to 'cpp/src/Ice/Application.cpp')
-rw-r--r--cpp/src/Ice/Application.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/Application.cpp b/cpp/src/Ice/Application.cpp
index fe9e72692ee..33803835614 100644
--- a/cpp/src/Ice/Application.cpp
+++ b/cpp/src/Ice/Application.cpp
@@ -16,6 +16,11 @@ using namespace Ice;
const char* Application::_appName = 0;
CommunicatorPtr Application::_communicator;
+#ifndef _WIN32
+const int Application::signals[] = { SIGHUP, SIGINT, SIGTERM };
+sigset_t Application::signalSet;
+#endif
+
Ice::Application::Application()
{
#ifndef _WIN32