diff options
Diffstat (limited to 'ace/IPC_SAP.cpp')
-rw-r--r-- | ace/IPC_SAP.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ace/IPC_SAP.cpp b/ace/IPC_SAP.cpp index 0c7ac720f1a..e06647708ec 100644 --- a/ace/IPC_SAP.cpp +++ b/ace/IPC_SAP.cpp @@ -52,8 +52,7 @@ ACE_IPC_SAP::enable (int signum) const return ACE_OS::ioctl (this->handle_, FIONBIO, &nonblock); } default: - errno = ENOTSUP; - return -1; + ACE_NOTSUP_RETURN (-1); } #else switch (signum) @@ -112,8 +111,7 @@ ACE_IPC_SAP::disable (int signum) const return ACE_OS::ioctl (this->handle_, FIONBIO, &nonblock); } default: - errno = ENOTSUP; - return -1; + ACE_NOTSUP_RETURN (-1); } #else switch (signum) |