Make sure DSO-dlfcn works properly on SunOS4.

PR: 585
This commit is contained in:
Richard Levitte 2003-06-12 00:51:54 +00:00
parent c14b337570
commit 54bbde3c3f

View File

@ -128,8 +128,12 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
# endif # endif
# endif # endif
#else #else
# ifdef OPENSSL_SYS_SUNOS
# define DLOPEN_FLAG 1
# else
# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */ # define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */
# endif # endif
#endif
/* For this DSO_METHOD, our meth_data STACK will contain; /* For this DSO_METHOD, our meth_data STACK will contain;
* (i) the handle (void*) returned from dlopen(). * (i) the handle (void*) returned from dlopen().