diff options
Diffstat (limited to 'examples/Reactor/Misc/test_demuxing.cpp')
-rw-r--r-- | examples/Reactor/Misc/test_demuxing.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/Reactor/Misc/test_demuxing.cpp b/examples/Reactor/Misc/test_demuxing.cpp index a55bdbab0f1..99e3715f345 100644 --- a/examples/Reactor/Misc/test_demuxing.cpp +++ b/examples/Reactor/Misc/test_demuxing.cpp @@ -145,14 +145,13 @@ Sig_Handler::handle_signal (int signum, siginfo_t *, ucontext_t *) (this->handle_, ACE_Event_Handler::READ_MASK, ACE_Reactor::ADD_MASK); -#if defined (ACE_WIN32) && defined (SIGTERM) +#if defined (SIGTERM) && (SIGTERM != 0) case SIGTERM: - // This is coded thusly to avoid problems if SIGQUIT is a legit // value but is not a preprocessor macro. #elif !defined (SIGQUIT) || (SIGQUIT != 0) case SIGQUIT: -#endif /* ACE_WIN32 */ +#endif /* SIGTERM != 0 */ ACE_Reactor::end_event_loop (); break; default: |