diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-20 04:53:36 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-20 04:53:36 +0000 |
commit | 217604f2f905ea83cf78804afb9a6995d01a9aba (patch) | |
tree | c682c75a4b1e647ef4495b8d2ff2765ff43e7142 /ace/Signal.cpp | |
parent | 5713b1319823b60f4d49e876645979cc5ada452f (diff) | |
download | ATCD-217604f2f905ea83cf78804afb9a6995d01a9aba.tar.gz |
ot
Diffstat (limited to 'ace/Signal.cpp')
-rw-r--r-- | ace/Signal.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Signal.cpp b/ace/Signal.cpp index 794211522b6..2e4ec3d5d78 100644 --- a/ace/Signal.cpp +++ b/ace/Signal.cpp @@ -18,6 +18,9 @@ ace_sig_handler_dispatch (int signum, siginfo_t *info, ucontext_t *context) ACE_Sig_Handler::dispatch (signum, info, context); } +static ACE_SignalHandler ace_signal_handler_dispatcher = ACE_SignalHandler (ace_sig_handler_dispatch); + +#if !defined (HPUX) extern "C" void ace_sig_handlers_dispatch (int signum, siginfo_t *info, ucontext_t *context) { @@ -25,8 +28,9 @@ ace_sig_handlers_dispatch (int signum, siginfo_t *info, ucontext_t *context) ACE_Sig_Handlers::dispatch (signum, info, context); } -static ACE_SignalHandler ace_signal_handler_dispatcher = ACE_SignalHandler (ace_sig_handler_dispatch); static ACE_SignalHandler ace_signal_handlers_dispatcher = ACE_SignalHandler (ace_sig_handlers_dispatch); +#endif /* HPUX */ + #else static ACE_SignalHandler ace_signal_handler_dispatcher = ACE_SignalHandler (ACE_Sig_Handler::dispatch); |