summaryrefslogtreecommitdiff
path: root/ace/Synch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r--ace/Synch.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Synch.cpp b/ace/Synch.cpp
index 971418ab12e..dec617eae8b 100644
--- a/ace/Synch.cpp
+++ b/ace/Synch.cpp
@@ -1,11 +1,16 @@
// Synch.cpp
// $Id$
-#if !defined (ACE_SYNCH_C)
+#ifndef ACE_SYNCH_C
#define ACE_SYNCH_C
#define ACE_BUILD_DLL
#include "ace/Thread.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Synch_T.h"
#include "ace/Synch.h"
#include "ace/Object_Manager.h"