summaryrefslogtreecommitdiff
path: root/ACE/examples/Reactor/Misc/test_signals_2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/Reactor/Misc/test_signals_2.cpp')
-rw-r--r--ACE/examples/Reactor/Misc/test_signals_2.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/ACE/examples/Reactor/Misc/test_signals_2.cpp b/ACE/examples/Reactor/Misc/test_signals_2.cpp
index 466ab58482f..856e06adf91 100644
--- a/ACE/examples/Reactor/Misc/test_signals_2.cpp
+++ b/ACE/examples/Reactor/Misc/test_signals_2.cpp
@@ -168,7 +168,7 @@ public:
else
ACE_DEBUG ((LM_DEBUG,
"\nshutting down SIGINT in Sig_Handler_1 (%s, %d, %d)",
- this->msg_,
+ this->msg_,
this->int_sigkey_,
this->quit_sigkey_));
}
@@ -229,7 +229,6 @@ external_handler (int signum)
signum));
}
-#if !defined (HPUX)
int
ACE_TMAIN (int argc, ACE_TCHAR *[])
{
@@ -273,19 +272,10 @@ ACE_TMAIN (int argc, ACE_TCHAR *[])
"\nwaiting for SIGINT or SIGQUIT\n"));
if (reactor.handle_events () == -1)
- ACE_ERROR ((LM_ERROR,
+ ACE_ERROR ((LM_ERROR,
"%p\n",
"handle_events"));
}
ACE_NOTREACHED (return 0);
}
-#else
-int
-main (int, char *[])
-{
- ACE_ERROR_RETURN ((LM_ERROR,
- "The HP C++ compiler is too lame to support this feature\n"),
- -1);
-}
-#endif /* HPUX */