summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/UPIPE_SAP/ex2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/IPC_SAP/UPIPE_SAP/ex2.cpp')
-rw-r--r--examples/IPC_SAP/UPIPE_SAP/ex2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/IPC_SAP/UPIPE_SAP/ex2.cpp b/examples/IPC_SAP/UPIPE_SAP/ex2.cpp
index dfeec7d1ab4..d807f53857d 100644
--- a/examples/IPC_SAP/UPIPE_SAP/ex2.cpp
+++ b/examples/IPC_SAP/UPIPE_SAP/ex2.cpp
@@ -149,7 +149,7 @@ consumer (void *)
}
int
-main (int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
size = argc > 1 ? ACE_OS::atoi (argv[1]) : 32;
iterations = argc > 2 ? ACE_OS::atoi (argv[2]) : 16;
@@ -168,7 +168,7 @@ main (int argc, ACE_TCHAR *argv[])
}
#else
int
-main (int, ACE_TCHAR *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_ERROR_RETURN ((LM_ERROR,
"threads not supported on this platform\n"),