summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp')
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp b/TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp
index 59a9f6434c9..32d179e1fca 100644
--- a/TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/Locator_NT_Service.cpp
@@ -13,7 +13,7 @@
#include "Locator_NT_Service.h"
-#if defined (ACE_WIN32)
+#if defined (ACE_WIN32) && !defined (ACE_LACKS_WIN32_SERVICES)
#include "ImR_Locator_i.h"
#include "Locator_Options.h"
@@ -108,4 +108,4 @@ Locator_NT_Service::svc (void)
return -1;
}
-#endif /* ACE_WIN32 */
+#endif /* ACE_WIN32 && !ACE_LACKS_WIN32_SERVICES */