projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure DSO-dlfcn works properly on SunOS4.
[openssl.git]
/
crypto
/
dso
/
dso_dlfcn.c
diff --git
a/crypto/dso/dso_dlfcn.c
b/crypto/dso/dso_dlfcn.c
index 259aee83e7581d78e20ef6f9c8492d2a589370c4..2d7534afac7d4b683e0f079cc2d9ce50fdde4880 100644
(file)
--- a/
crypto/dso/dso_dlfcn.c
+++ b/
crypto/dso/dso_dlfcn.c
@@
-128,7
+128,11
@@
DSO_METHOD *DSO_METHOD_dlfcn(void)
# endif
# endif
#else
# endif
# endif
#else
-# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */
+# ifdef OPENSSL_SYS_SUNOS
+# define DLOPEN_FLAG 1
+# else
+# define DLOPEN_FLAG RTLD_NOW /* Hope this works everywhere else */
+# endif
#endif
/* For this DSO_METHOD, our meth_data STACK will contain;
#endif
/* For this DSO_METHOD, our meth_data STACK will contain;