summaryrefslogtreecommitdiff
path: root/ACE/ace/SOCK_Dgram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/SOCK_Dgram.cpp')
-rw-r--r--ACE/ace/SOCK_Dgram.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/SOCK_Dgram.cpp b/ACE/ace/SOCK_Dgram.cpp
index 8c03e610fb0..d23422f4225 100644
--- a/ACE/ace/SOCK_Dgram.cpp
+++ b/ACE/ace/SOCK_Dgram.cpp
@@ -419,8 +419,8 @@ ACE_SOCK_Dgram::send (const iovec iov[],
// Determine the total length of all the buffers in <iov>.
for (i = 0; i < n; i++)
-#if ! (defined(ACE_LACKS_IOVEC) || defined(ACE_LINUX) || defined(ACE_HAS_RTEMS))
- // The iov_len is unsigned on Linux, RTEMS and when using the ACE iovec struct. If we go
+#if ! (defined(ACE_LACKS_IOVEC) || defined(ACE_LINUX))
+ // The iov_len is unsigned on Linux and when using the ACE iovec struct. If we go
// ahead and try the if, it will emit a warning.
if (iov[i].iov_len < 0)
return -1;
@@ -480,8 +480,8 @@ ACE_SOCK_Dgram::recv (iovec iov[],
ACE_UNUSED_ARG (to_addr);
for (i = 0; i < n; i++)
-#if ! (defined(ACE_LACKS_IOVEC) || defined(ACE_LINUX) || defined(ACE_HAS_RTEMS))
- // The iov_len is unsigned on Linux, RTEMS and when using the ACE iovec struct. If we go
+#if ! (defined(ACE_LACKS_IOVEC) || defined(ACE_LINUX))
+ // The iov_len is unsigned on Linux and when using the ACE iovec struct. If we go
// ahead and try the if, it will emit a warning.
if (iov[i].iov_len < 0)
return -1;