diff options
Diffstat (limited to 'tests/Enum_Interfaces_Test.cpp')
-rw-r--r-- | tests/Enum_Interfaces_Test.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/Enum_Interfaces_Test.cpp b/tests/Enum_Interfaces_Test.cpp index 071c06c6843..c08692010a4 100644 --- a/tests/Enum_Interfaces_Test.cpp +++ b/tests/Enum_Interfaces_Test.cpp @@ -34,15 +34,15 @@ ACE_RCSID(tests, Enum_Interfaces_Test, "$Id$") int -main (int, ASYS_TCHAR *[]) +main (int, ACE_TCHAR *[]) { - ACE_START_TEST (ASYS_TEXT ("Enum_Interfaces_Test")); + ACE_START_TEST (ACE_TEXT ("Enum_Interfaces_Test")); struct utsname uname; ACE_OS::uname(&uname); - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Machine: %s running on %s\n"), + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Machine: %s running on %s\n"), uname.nodename, uname.machine )); - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("Platform: %s, %s, %s\n"), + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Platform: %s, %s, %s\n"), uname.sysname, uname.release, uname.version )); ACE_INET_Addr *the_addr_array; @@ -52,17 +52,17 @@ main (int, ASYS_TCHAR *[]) if (rc != 0) ACE_ERROR ((LM_ERROR, - ASYS_TEXT ("%p\n"), - ASYS_TEXT ("ACE::get_ip_interfaces failed"))); + ACE_TEXT ("%p\n"), + ACE_TEXT ("ACE::get_ip_interfaces failed"))); else if (how_many == 0) ACE_ERROR ((LM_ERROR, - ASYS_TEXT ("No interfaces presently configured in the kernel\n"))); + ACE_TEXT ("No interfaces presently configured in the kernel\n"))); else { - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("there are %d interfaces\n"), how_many)); + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("there are %d interfaces\n"), how_many)); for (size_t i = 0; i < how_many; i++) - ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\t%s\n"), the_addr_array[i].get_host_addr ())); + ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\t%s\n"), the_addr_array[i].get_host_addr ())); delete [] the_addr_array; } |