From 1c1fce7c3cf2f902c74dda75807c43cb42bd61f8 Mon Sep 17 00:00:00 2001 From: levine Date: Wed, 3 Dec 1997 18:56:51 +0000 Subject: fixed used of ::sigwait with cxx 6.0, which now uses ACE_HAS_ONEARG_SIGWAIT --- ace/OS.h | 9 +++++---- ace/OS.i | 3 ++- ace/config-osf1-4.0.h | 3 +++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ace/OS.h b/ace/OS.h index a38a64ca9c5..e93050e5dc6 100644 --- a/ace/OS.h +++ b/ace/OS.h @@ -1688,12 +1688,13 @@ typedef u_int ACE_thread_key_t; #undef sigfillset #endif /* linux && __OPTIMIZE__ */ -// sigwait is yet another macro on Digital UNIX 4.0, +// sigwait is yet another macro on Digital UNIX 4.0, with cxx prior to 6.0, // just causing trouble when introducing member functions with the same name. // Thanks to Thilo Kielmann" for this fix. -#if defined (DIGITAL_UNIX) -#undef sigwait -#endif /* DIGITAL_UNIX */ +// I added the version discriminator: David L. Levine = 60090006 # define ACE_HAS_SIGWAIT +# define ACE_HAS_ONEARG_SIGWAIT #endif /* __DECCXX_VER >= 60090006 */ // Compiler/platform has strerror(). -- cgit v1.2.1