diff options
Diffstat (limited to 'examples/System_V_IPC')
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp b/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp index 547e4175121..5f26eb583b4 100644 --- a/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/MQ_Client.cpp @@ -16,7 +16,7 @@ ACE_RCSID(SV_Message_Queues, MQ_Client, "$Id$") #if defined (ACE_HAS_SYSV_IPC) && !defined(ACE_LACKS_SYSV_SHMEM) int -main (int, char *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { long pid = long (ACE_OS::getpid ()); ACE_SV_Message_Queue msgque (SRV_KEY); diff --git a/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp b/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp index 57c7502cabd..a685f2e67f7 100644 --- a/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp @@ -27,7 +27,7 @@ handler (int) } int -main (int, char *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { long pid = long (ACE_OS::getpid ()); Message_Block recv_msg (SRV_ID); diff --git a/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp b/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp index 02c41602b9f..bda5e1bafa6 100644 --- a/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp +++ b/examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp @@ -29,7 +29,7 @@ handler (int) } int -main (int, char *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { char *username = ACE_OS::cuserid (static_cast<char *> (0)); Message_Data msg_data ((int) ACE_OS::getpid (), username, "I received your message."); diff --git a/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp b/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp index 2331ea772ec..581dff8f7f6 100644 --- a/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp +++ b/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp @@ -67,7 +67,7 @@ child (char *shm) } int -main (int, char *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { char *shm = (char *) alloc.malloc (27); diff --git a/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp b/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp index e0ae9cd2bb5..933bd09a3bf 100644 --- a/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp +++ b/examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp @@ -83,7 +83,7 @@ child (char *shm) } int -main (int, char *[]) +ACE_TMAIN (int, ACE_TCHAR *[]) { char *shm = (char *) my_alloc.malloc (27); |