diff options
Diffstat (limited to 'ACE/tests/Based_Pointer_Test_Lib.cpp')
-rw-r--r-- | ACE/tests/Based_Pointer_Test_Lib.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/ACE/tests/Based_Pointer_Test_Lib.cpp b/ACE/tests/Based_Pointer_Test_Lib.cpp index 555bd2d98c7..fc0b9481c1a 100644 --- a/ACE/tests/Based_Pointer_Test_Lib.cpp +++ b/ACE/tests/Based_Pointer_Test_Lib.cpp @@ -14,16 +14,9 @@ #include "ace/svc_export.h" #include "ace/Based_Pointer_Repository.h" -#if defined (ACE_OPENVMS) -// with OPENVMS symbol names > 31 cause us trouble with dlsym() -extern "C" ACE_Svc_Export void * -get_based_pointer_repo_inst () -#else -extern "C" ACE_Svc_Export void * -get_based_pointer_repository_instance () -#endif +extern "C" ACE_Svc_Export void *get_based_pointer_repository_instance () { - void* baddr = ACE_BASED_POINTER_REPOSITORY::instance(); - return baddr; + void* baddr = ACE_BASED_POINTER_REPOSITORY::instance(); + return baddr; } |