summaryrefslogtreecommitdiff
path: root/examples/Threads/barrier1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads/barrier1.cpp')
-rw-r--r--examples/Threads/barrier1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Threads/barrier1.cpp b/examples/Threads/barrier1.cpp
index 03e109c36b9..e6d8c8f17dc 100644
--- a/examples/Threads/barrier1.cpp
+++ b/examples/Threads/barrier1.cpp
@@ -50,7 +50,7 @@ tester (Tester_Args *args)
static const int DEFAULT_ITERATIONS = 5;
int
-main (int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_Service_Config daemon (argv[0]);
@@ -74,7 +74,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"));
return 0;