summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
authorjwh1 <jwh1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-15 00:05:36 +0000
committerjwh1 <jwh1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-15 00:05:36 +0000
commitd333c0a23462439f0499041ecdab65a8e7691765 (patch)
tree2f7a1e603493e8c2ba8a18a9617b84e23dac7573 /ace/OS.h
parent51d6ded357d73a2912350612f772c1afd7cb806d (diff)
downloadATCD-d333c0a23462439f0499041ecdab65a8e7691765.tar.gz
Fri Jul 14 19:03:49 2000 John Heitmann <jwh1@cs.wustl.edu>
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 54132b327f6..ab892cb4e71 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -2956,7 +2956,10 @@ typedef int sig_atomic_t;
typedef int ssize_t;
# endif /* ACE_HAS_SSIZE_T */
-# if defined (ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES)
+# if defined (ACE_HAS_PACE)
+typedef pace_sig_pf ACE_SignalHandler;
+typedef pace_sig_pf ACE_SignalHandlerV;
+# elif defined (ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES)
// Prototypes for both signal() and struct sigaction are consistent..
# if defined (ACE_HAS_SIG_C_FUNC)
extern "C" {
@@ -3004,7 +3007,7 @@ typedef void (*ACE_SignalHandlerV)(...);
typedef void (*ACE_SignalHandler)(int);
# endif /* SIG_PF */
typedef void (*ACE_SignalHandlerV)(...);
-# endif /* ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES */
+# endif /* ACE_HAS_PACE */
# if defined (BUFSIZ)
# define ACE_STREAMBUF_SIZE BUFSIZ
@@ -3999,6 +4002,11 @@ struct sigaction
# endif
# endif /* SIG_DFL */
+# if defined (ACE_HAS_PACE) && PACE_LYNXOS
+# undef SIG_IGN
+# define SIG_IGN ((pace_sig_pf) 1)
+# endif /* (ACE_HAS_PACE) && PACE_LYNXOS */
+
# if !defined (SIG_IGN)
# if defined (ACE_PSOS_DIAB_MIPS) || defined (ACE_PSOS_DIAB_PPC)
# define SIG_IGN ((void *) 1) /* ignore signal */