summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-12-17 11:30:32 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-12-17 11:30:32 +0000
commit9898d5184d359a34cb36b27545977d25045c68fa (patch)
treeeb20ca4269acbe4a2d311eb77a6b486ed8a401a2
parentd7a86ffbeea8a89ca8e9cce95baf5bec106a27dd (diff)
downloadATCD-9898d5184d359a34cb36b27545977d25045c68fa.tar.gz
ChangeLogTag: Fri Dec 17 11:30:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ace/OS_NS_sys_socket.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/OS_NS_sys_socket.inl b/ace/OS_NS_sys_socket.inl
index 0062c83a4fe..7a589364264 100644
--- a/ace/OS_NS_sys_socket.inl
+++ b/ace/OS_NS_sys_socket.inl
@@ -564,11 +564,11 @@ ACE_OS::send (ACE_HANDLE handle, const char *buf, size_t len, int flags)
flags), int, -1);
#else
int ace_result_;
-# if defined (VXWORKS) || defined (HPUX) || defined (ACE_PSOS)
- ace_result_ = ::send ((ACE_SOCKET) handle, (char *) buf, len, flags);
+# if defined (ACE_PSOS)
+ ace_result_ = ::send ((ACE_SOCKET) handle, const_cast <char *> (buf), len, flags);
# else
ace_result_ = ::send ((ACE_SOCKET) handle, buf, len, flags);
-# endif /* VXWORKS */
+# endif /* ACE_PSOS */
# if !(defined (EAGAIN) && defined (EWOULDBLOCK) && EAGAIN == EWOULDBLOCK)
// Optimize this code out if we can detect that EAGAIN ==