summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-20 14:34:42 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-20 14:34:42 +0000
commitd3cbcabf89f63c9f1c17e0d8697474cd330b58d5 (patch)
tree7e32302a92f8ac4f89ba5aa70d9510372fd2b79d /ace/OS.i
parent1070fb705c7036c8e65e2ca901443a636b7e55fd (diff)
downloadATCD-d3cbcabf89f63c9f1c17e0d8697474cd330b58d5.tar.gz
ChangeLogTag: Tue Jul 20 09:33:02 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i21
1 files changed, 8 insertions, 13 deletions
diff --git a/ace/OS.i b/ace/OS.i
index a8d7b1b8487..874890801bb 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -6753,19 +6753,14 @@ ACE_OS::sigwait (sigset_t *set, int *sig)
// signal number is returned).
*sig = ::sigwait (set, 0);
return *sig;
-# elif defined (DIGITAL_UNIX)
-# if defined (__DECCXX_VER)
- // DEC cxx (but not g++) needs this direct call to its internal
- // sigwait (). This allows us to #undef sigwait, so that we can
- // have ACE_OS::sigwait. cxx gets confused by ACE_OS::sigwait if
- // sigwait is _not_ #undef'ed.
- errno = ::_Psigwait (set, sig);
- return errno == 0 ? *sig : -1;
-# else /* g++, for example, on DIGITAL_UNIX */
- *sig = ::__sigwaitd10 (set, sig);
- return errno == 0 ? *sig : -1;
-# endif /* g++, for example, on DIGITAL_UNIX */
-# else /* ! __Lynx __ && ! DIGITAL_UNIX */
+# elif defined (DIGITAL_UNIX) && defined (__DECCXX_VER)
+ // DEC cxx (but not g++) needs this direct call to its internal
+ // sigwait (). This allows us to #undef sigwait, so that we can
+ // have ACE_OS::sigwait. cxx gets confused by ACE_OS::sigwait
+ // if sigwait is _not_ #undef'ed.
+ errno = ::_Psigwait (set, sig);
+ return errno == 0 ? *sig : -1;
+# else /* ! __Lynx __ && ! (DIGITAL_UNIX && __DECCXX_VER) */
# if (defined (ACE_HAS_PTHREADS_DRAFT4) || (defined (ACE_HAS_PTHREADS_DRAFT6)) && !defined(ACE_HAS_FSU_PTHREADS)) || (defined (_UNICOS) && _UNICOS == 9)
*sig = ::sigwait (set);
return *sig;