summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/UPIPE_SAP/ex2.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-06 21:48:04 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-06 21:48:04 +0000
commit3ae167a5e9d819407fa4a05f0d518b25265d76bf (patch)
tree5ec27b869b80ab5e84a381932afb8d7df29634aa /examples/IPC_SAP/UPIPE_SAP/ex2.cpp
parenta7b3c4626215b3e743ad4a092ac8619f192a6437 (diff)
downloadATCD-3ae167a5e9d819407fa4a05f0d518b25265d76bf.tar.gz
ChangeLogTag:Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
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"),