diff options
Diffstat (limited to 'ace/IPC_SAP.cpp')
-rw-r--r-- | ace/IPC_SAP.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/IPC_SAP.cpp b/ace/IPC_SAP.cpp index a67e8a2bd95..5e6f5d3199b 100644 --- a/ace/IPC_SAP.cpp +++ b/ace/IPC_SAP.cpp @@ -14,6 +14,8 @@ ACE_RCSID(ace, IPC_SAP, "$Id$") +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + ACE_ALLOC_HOOK_DEFINE(ACE_IPC_SAP) void @@ -57,7 +59,7 @@ ACE_IPC_SAP::enable (int value) const { // nonblocking argument (1) // blocking: (0) - u_long nonblock = 1; + int nonblock = 1; return ACE_OS::ioctl (this->handle_, FIONBIO, &nonblock); @@ -129,7 +131,7 @@ ACE_IPC_SAP::disable (int value) const // nonblocking argument (1) // blocking: (0) { - u_long nonblock = 0; + int nonblock = 0; return ACE_OS::ioctl (this->handle_, FIONBIO, &nonblock); @@ -187,3 +189,5 @@ ACE_IPC_SAP::disable (int value) const #endif /* ! ACE_WIN32 && ! VXWORKS */ /* NOTREACHED */ } + +ACE_END_VERSIONED_NAMESPACE_DECL |