summaryrefslogtreecommitdiff
path: root/TAO/tao/singletons.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-12 15:32:31 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-12 15:32:31 +0000
commite8b65d5383b9f5c174843eba1e8e0fc8feded219 (patch)
tree49b1cd2215d7be6344d6a085fdff4c629508a061 /TAO/tao/singletons.h
parent61c46289a955457825c9f05c0e89188da0aa78e9 (diff)
downloadATCD-e8b65d5383b9f5c174843eba1e8e0fc8feded219.tar.gz
insert pragma once
Diffstat (limited to 'TAO/tao/singletons.h')
-rw-r--r--TAO/tao/singletons.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tao/singletons.h b/TAO/tao/singletons.h
index dd823e6f868..8a3c2c6815e 100644
--- a/TAO/tao/singletons.h
+++ b/TAO/tao/singletons.h
@@ -24,6 +24,11 @@
#define TAO_SINGLETONS_H
#include "ace/Singleton.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Synch.h"
#include "tao/Marshal.h"