summaryrefslogtreecommitdiff
path: root/TAO/tests/CodeSets
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2003-04-01 13:26:15 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2003-04-01 13:26:15 +0000
commitc9465001f2cf6d85d450a29f395de81b379d51e8 (patch)
tree0707b0a73234e954af525bc1639bebb4e6dc9467 /TAO/tests/CodeSets
parente41ee3c94e0f1058fd2f99e2ab5c93a67810d4f3 (diff)
downloadATCD-c9465001f2cf6d85d450a29f395de81b379d51e8.tar.gz
ChangeLog tag: Tue Apr 1 07:20:15 2003 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tests/CodeSets')
-rw-r--r--TAO/tests/CodeSets/simple/client.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tests/CodeSets/simple/client.cpp b/TAO/tests/CodeSets/simple/client.cpp
index 9b506599429..d09bd8c5899 100644
--- a/TAO/tests/CodeSets/simple/client.cpp
+++ b/TAO/tests/CodeSets/simple/client.cpp
@@ -121,12 +121,11 @@ int main (int argc, char *argv[])
{
++error_count;
}
-
+#if defined (ACE_HAS_WCHAR)
wchar_t *wide_string = ACE_OS::strdup(ACE_TEXT_ALWAYS_WCHAR ("Wide String"));
- for (int i = 0; i < 11; i++)
- cout << "ws[" << i << "] = " << (short) wide_string[i] << endl;
wchar_t *wide_reply = server->op2 (wide_string);
cout << "sent " << wide_string << " got " << wide_reply << endl;
+#endif /* ACE_HAS_WCHAR */
}
ACE_CATCHANY
{