summaryrefslogtreecommitdiff
path: root/ace/Signal.i
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-07-14 22:26:41 +0000
committerSteve Huston <shuston@riverace.com>1997-07-14 22:26:41 +0000
commitc0c2e5a71b283cc281ef71ec478e6af3d76c736d (patch)
treeafa981a234f288d70441bd4bb8ece377bee355c6 /ace/Signal.i
parentc4c8be6f692eb45f5983948b6ef60589fb5d55ef (diff)
downloadATCD-c0c2e5a71b283cc281ef71ec478e6af3d76c736d.tar.gz
Fixed line 206 from "#if" to "#if defined" to compile where
ACE_LACKS_PTHREAD_SIGSETMASK is not defined.
Diffstat (limited to 'ace/Signal.i')
-rw-r--r--ace/Signal.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Signal.i b/ace/Signal.i
index 9470986922f..5c37e534f72 100644
--- a/ace/Signal.i
+++ b/ace/Signal.i
@@ -203,7 +203,7 @@ ACE_INLINE
ACE_Sig_Guard::~ACE_Sig_Guard (void)
{
//ACE_TRACE ("ACE_Sig_Guard::~ACE_Sig_Guard");
-#if (ACE_LACKS_PTHREAD_THR_SIGSETMASK)
+#if defined (ACE_LACKS_PTHREAD_THR_SIGSETMASK)
ACE_OS::sigprocmask (SIG_SETMASK, (sigset_t *) this->omask_, 0);
#else
ACE_OS::thr_sigsetmask (SIG_SETMASK, (sigset_t *) this->omask_, 0);