summaryrefslogtreecommitdiff
path: root/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp')
-rw-r--r--examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp b/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp
index 1dba56c734c..afc0c279577 100644
--- a/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp
+++ b/examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp
@@ -2,6 +2,7 @@
#include "ace/SV_Shared_Memory.h"
#include "ace/SV_Semaphore_Simple.h"
+#include "ace/SV_Semaphore_Complex.h"
#include "ace/Malloc.h"
#include "ace/OS_NS_unistd.h"
@@ -78,7 +79,7 @@ main (int, char *[])
}
}
#else
-int main (int, char *[])
+int ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_ERROR ((LM_ERROR,
"SYSV IPC, or SYSV SHMEM is not supported on this platform\n"));