summaryrefslogtreecommitdiff
path: root/examples/Threads/future2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads/future2.cpp')
-rw-r--r--examples/Threads/future2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Threads/future2.cpp b/examples/Threads/future2.cpp
index 7e7339532b2..6178396ec61 100644
--- a/examples/Threads/future2.cpp
+++ b/examples/Threads/future2.cpp
@@ -498,7 +498,7 @@ test_timeout (int n_iterations)
}
int
-main (int, ACE_TCHAR *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
int n_iterations = determine_iterations ();
@@ -547,7 +547,7 @@ template class ACE_Unbounded_Set_Iterator<ACE_Future_Observer<u_long> *>;
#else
int
-main (int, ACE_TCHAR *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_ERROR ((LM_ERROR, "threads not supported on this platform\n"));
return 0;