summaryrefslogtreecommitdiff
path: root/tests/Proactor_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Proactor_Test.cpp')
-rw-r--r--tests/Proactor_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp
index 2098ca2562b..df2b9b3005a 100644
--- a/tests/Proactor_Test.cpp
+++ b/tests/Proactor_Test.cpp
@@ -644,7 +644,7 @@ Receiver::open (ACE_HANDLE handle, ACE_Message_Block &)
this->handle_ = handle;
int nodelay = 1;
ACE_SOCK_Stream option_setter (handle);
- if (-1 == option_setter.set_option (IPPROTO_TCP,
+ if (-1 == option_setter.set_option (ACE_IPPROTO_TCP,
TCP_NODELAY,
&nodelay,
sizeof (nodelay)))
@@ -1293,7 +1293,7 @@ Sender::open (ACE_HANDLE handle, ACE_Message_Block &)
this->handle_ = handle;
int nodelay = 1;
ACE_SOCK_Stream option_setter (handle);
- if (option_setter.set_option (IPPROTO_TCP,
+ if (option_setter.set_option (ACE_IPPROTO_TCP,
TCP_NODELAY,
&nodelay,
sizeof (nodelay)))