diff options
Diffstat (limited to 'examples/Threads/task_four.cpp')
-rw-r--r-- | examples/Threads/task_four.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Threads/task_four.cpp b/examples/Threads/task_four.cpp index 687e6d99469..d13330b96df 100644 --- a/examples/Threads/task_four.cpp +++ b/examples/Threads/task_four.cpp @@ -251,7 +251,7 @@ static const size_t DEFAULT_TASKS = 4; static const size_t DEFAULT_ITERATIONS = 5; int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { size_t n_tasks = argc > 1 ? ACE_OS::atoi (argv[1]) : DEFAULT_TASKS; size_t n_threads = argc > 2 ? ACE_OS::atoi (argv[2]) : ACE_DEFAULT_THREADS; @@ -296,7 +296,7 @@ main (int argc, ACE_TCHAR *argv[]) } #else int -main (int, ACE_TCHAR *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { ACE_ERROR ((LM_ERROR, "threads not supported on this platform\n")); |