From 2c4b54ccab05c3054e79de89b012456d3d712f86 Mon Sep 17 00:00:00 2001 From: dhinton Date: Fri, 25 Jul 2003 19:13:13 +0000 Subject: ChangeLogTag:Fri Jul 25 17:32:58 UTC 2003 Don Hinton --- ace/os_include/os_dlfcn.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ace') diff --git a/ace/os_include/os_dlfcn.h b/ace/os_include/os_dlfcn.h index dcb15be572c..79ad90fd6ae 100644 --- a/ace/os_include/os_dlfcn.h +++ b/ace/os_include/os_dlfcn.h @@ -66,12 +66,10 @@ extern "C" # define ACE_SHLIB_INVALID_HANDLE 0 # if defined (__KCC) && defined(RTLD_GROUP) && defined(RTLD_NODELETE) # define ACE_DEFAULT_SHLIB_MODE RTLD_LAZY | RTLD_GROUP | RTLD_NODELETE -# elif defined (__linux__) - // This is needed to for dynamic_cast to work properly on objects created in +# else + // This is needed to for dynamic_cast to work properly on objects passed to // libraries. # define ACE_DEFAULT_SHLIB_MODE RTLD_LAZY | RTLD_GLOBAL -# else -# define ACE_DEFAULT_SHLIB_MODE RTLD_LAZY # endif /* KCC */ #elif defined (__hpux) typedef shl_t ACE_SHLIB_HANDLE; -- cgit v1.2.1