summaryrefslogtreecommitdiff
path: root/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h')
-rw-r--r--examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h b/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h
index 7712e016a09..4e8cd9b9d13 100644
--- a/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h
+++ b/examples/System_V_IPC/SV_Shared_Memory/SV_Shared_Memory_Test.h
@@ -2,6 +2,11 @@
// $Id$
#include "ace/OS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#define SHMSZ 27
#define SEM_KEY 1234
#define SHM_KEY 5678