summaryrefslogtreecommitdiff
path: root/tests/HTBP/Reactor_Tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/HTBP/Reactor_Tests')
-rw-r--r--tests/HTBP/Reactor_Tests/client.cpp4
-rw-r--r--tests/HTBP/Reactor_Tests/test_config.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/HTBP/Reactor_Tests/client.cpp b/tests/HTBP/Reactor_Tests/client.cpp
index 2813d9116f3..a3cafc76e49 100644
--- a/tests/HTBP/Reactor_Tests/client.cpp
+++ b/tests/HTBP/Reactor_Tests/client.cpp
@@ -29,7 +29,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
#endif /* 0 */
ACE::HTBP::ID_Requestor req (&env);
- ACE::HTBP::Addr local = ACE_TEXT_ALWAYS_CHAR(req.get_HTID());
+ ACE::HTBP::Addr local = ACE_TEXT_TO_CHAR_IN(req.get_HTID());
unsigned remote_port = 8088;
const ACE_TCHAR * remote_host = argv[1];
@@ -48,7 +48,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
}
ACE_INET_Addr proxy(proxy_port,proxy_host.c_str());
- ACE::HTBP::Addr remote (remote_port,ACE_TEXT_ALWAYS_CHAR(remote_host));
+ ACE::HTBP::Addr remote (remote_port,ACE_TEXT_TO_CHAR_IN(remote_host));
ACE::HTBP::Session session(remote,local,ACE::HTBP::Session::next_session_id(),&proxy);
ACE::HTBP::Stream stream (&session);
diff --git a/tests/HTBP/Reactor_Tests/test_config.h b/tests/HTBP/Reactor_Tests/test_config.h
index efd4eb7bcc6..218399854f3 100644
--- a/tests/HTBP/Reactor_Tests/test_config.h
+++ b/tests/HTBP/Reactor_Tests/test_config.h
@@ -43,7 +43,7 @@
#undef ACE_NDEBUG
#undef ACE_TEXT
-#define ACE_TEXT ACE_LIB_TEXT
+#define ACE_TEXT ACE_TEXT
#if defined (ACE_HAS_WINCE)
// Note that Pocket PC 2002 will NOT create a directory if it does not start with a leading '\'.
@@ -251,7 +251,7 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
# endif /* ! VXWORKS */
# if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
- this->output_file_->open (ACE_TEXT_ALWAYS_CHAR (temp),
+ this->output_file_->open (ACE_TEXT_TO_CHAR_IN (temp),
ios::out | (append ? ios::app : ios::trunc));
if (this->output_file_->bad ())
return -1;