summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h')
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h b/TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h
index 1fc289707ed..339d06c5b19 100644
--- a/TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h
+++ b/TAO/orbsvcs/ImplRepo_Service/Activator_NT_Service.h
@@ -7,8 +7,8 @@
*
* @author Darrell Brunsch <brunsch@cs.wustl.edu>
* @author Jeff Parsons <parsons@cs.wustl.edu>
- * @author John Tucker <jtucker@infoglide.com>
- * @author Mike Vitalo <mvitalo@infoglide.com>
+ * @author John Tucker <jtucker@infoglide.com>
+ * @author Mike Vitalo <mvitalo@infoglide.com>
*/
//=============================================================================
@@ -21,8 +21,13 @@
#include "ace/NT_Service.h"
#include "ace/Singleton.h"
+#include "ace/Synch.h"
#include "tao/orbconf.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
static const char * IMR_ACTIVATOR_SERVICE_NAME = "TAOIMRActivator";
static const char * IMR_ACTIVATOR_DISPLAY_NAME = "TAO Implementation Repository Activator";
static const char * IMR_ACTIVATOR_DESCRIPTION = "Implementation Repository Activator service for TAO";
@@ -51,8 +56,10 @@ private:
friend class ACE_Singleton<Activator_NT_Service, MUTEX>;
};
-typedef ACE_Singleton<Activator_NT_Service, Activator_NT_Service::MUTEX> SERVICE;
+typedef ACE_Singleton<Activator_NT_Service, ACE_Mutex> SERVICE;
#endif /* ACE_WIN32 */
#endif /* Activator_NT_Service_H */
+
+