summaryrefslogtreecommitdiff
path: root/ACE/ace/Strategies_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Strategies_T.cpp')
-rw-r--r--ACE/ace/Strategies_T.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/ACE/ace/Strategies_T.cpp b/ACE/ace/Strategies_T.cpp
index 1ada5a8543d..3ae02a406eb 100644
--- a/ACE/ace/Strategies_T.cpp
+++ b/ACE/ace/Strategies_T.cpp
@@ -16,9 +16,6 @@
#include "ace/OS_NS_string.h"
#include "ace/OS_Errno.h"
#include "ace/Svc_Handler.h"
-#if defined (ACE_OPENVMS)
-# include "ace/Lib_Find.h"
-#endif
#if !defined (__ACE_INLINE__)
#include "ace/Strategies_T.inl"
@@ -118,15 +115,8 @@ ACE_DLL_Strategy<SVC_HANDLER>::make_svc_handler (SVC_HANDLER *&sh)
ACE_SHLIB_HANDLE handle = ACE_OS::dlopen (this->dll_name_);
// Extract the factory function.
-#if defined (ACE_OPENVMS)
SVC_HANDLER *(*factory)(void) =
- (SVC_HANDLER *(*)(void)) ACE::ldsymbol (handle,
- this->factory_function_);
-#else
- SVC_HANDLER *(*factory)(void) =
- (SVC_HANDLER *(*)(void)) ACE_OS::dlsym (handle,
- this->factory_function_);
-#endif
+ (SVC_HANDLER *(*)(void)) ACE_OS::dlsym (handle, this->factory_function_);
// Call the factory function to obtain the new SVC_Handler (should
// use RTTI here when it becomes available...)