summaryrefslogtreecommitdiff
path: root/examples/Threads/thread_specific.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads/thread_specific.cpp')
-rw-r--r--examples/Threads/thread_specific.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Threads/thread_specific.cpp b/examples/Threads/thread_specific.cpp
index be94adb98ee..542f4fa25cf 100644
--- a/examples/Threads/thread_specific.cpp
+++ b/examples/Threads/thread_specific.cpp
@@ -185,7 +185,7 @@ handler (int signum)
}
int
-main (int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
// The Service_Config must be the first object defined in main...
ACE_Service_Config daemon (argv[0]);
@@ -224,7 +224,7 @@ template class ACE_TSS<Errno>;
#else
int
-main (int, ACE_TCHAR *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_ERROR_RETURN ((LM_ERROR,
"ACE doesn't support support threads on this platform (yet)\n"),