summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/OS.i b/ace/OS.i
index c2a11c671a3..f0705cb9922 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -8188,7 +8188,7 @@ ACE_OS::sigaddset (sigset_t *s, int signum)
errno = EFAULT ;
return -1 ;
}
- if (signum < 1 || signum >= NSIG) {
+ if (signum < 1 || signum >= ACE_NSIG) {
errno = EINVAL ;
return -1 ; // Invalid signum, return error
}
@@ -8207,7 +8207,7 @@ ACE_OS::sigdelset (sigset_t *s, int signum)
errno = EFAULT ;
return -1 ;
}
- if (signum < 1 || signum >= NSIG) {
+ if (signum < 1 || signum >= ACE_NSIG) {
errno = EINVAL ;
return -1 ; // Invalid signum, return error
}
@@ -8256,7 +8256,7 @@ ACE_OS::sigismember (sigset_t *s, int signum)
errno = EFAULT ;
return -1 ;
}
- if (signum < 1 || signum >= NSIG) {
+ if (signum < 1 || signum >= ACE_NSIG) {
errno = EINVAL ;
return -1 ; // Invalid signum, return error
}