diff options
Diffstat (limited to 'examples/Threads/task_five.cpp')
-rw-r--r-- | examples/Threads/task_five.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Threads/task_five.cpp b/examples/Threads/task_five.cpp index e9c7a55994e..c43dd88f1b4 100644 --- a/examples/Threads/task_five.cpp +++ b/examples/Threads/task_five.cpp @@ -160,7 +160,7 @@ work (ACE_Thread_Manager *thr_mgr, } int -main (int argc, ACE_TCHAR *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { size_t stack_size = argc > 1 ? ACE_OS::atoi (argv[1]) : default_stack_size; const int n_tasks = argc > 2 ? ACE_OS::atoi (argv[2]) : DEFAULT_TASKS; |