summaryrefslogtreecommitdiff
path: root/TAO/examples/Advanced/ch_8_and_10
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Advanced/ch_8_and_10')
-rw-r--r--TAO/examples/Advanced/ch_8_and_10/client.cpp2
-rw-r--r--TAO/examples/Advanced/ch_8_and_10/server.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/Advanced/ch_8_and_10/client.cpp b/TAO/examples/Advanced/ch_8_and_10/client.cpp
index 593d3bd28b3..2395847f348 100644
--- a/TAO/examples/Advanced/ch_8_and_10/client.cpp
+++ b/TAO/examples/Advanced/ch_8_and_10/client.cpp
@@ -135,7 +135,7 @@ set_temp(CCS::Thermostat_ptr tmstat, CCS::TempType new_temp)
//----------------------------------------------------------------
int
-main(int argc, char * argv[])
+ACE_TMAIN(int argc, ACE_TCHAR * argv[])
{
try {
// Initialize the ORB
diff --git a/TAO/examples/Advanced/ch_8_and_10/server.cpp b/TAO/examples/Advanced/ch_8_and_10/server.cpp
index e2f6b3093a2..4e2346a12fe 100644
--- a/TAO/examples/Advanced/ch_8_and_10/server.cpp
+++ b/TAO/examples/Advanced/ch_8_and_10/server.cpp
@@ -413,7 +413,7 @@ throw(CORBA::SystemException)
//----------------------------------------------------------------
int
-main(int argc, char * argv[])
+ACE_TMAIN(int argc, ACE_TCHAR * argv[])
{
try {
// Initialize orb