Mercurial > hg > xemacs-beta
diff src/sysdll.c @ 863:42375619fa45
[xemacs-hg @ 2002-06-04 06:03:59 by andyp]
merge 21.4 windows changes, minimally tested
author | andyp |
---|---|
date | Tue, 04 Jun 2002 06:05:53 +0000 |
parents | 3d3049ae1304 |
children | beddd25fe24a |
line wrap: on
line diff
--- a/src/sysdll.c Mon Jun 03 12:24:14 2002 +0000 +++ b/src/sysdll.c Tue Jun 04 06:05:53 2002 +0000 @@ -42,6 +42,10 @@ # define RTLD_GLOBAL 0 #endif +#ifndef RTLD_NOW +# define RTLD_NOW 2 +#endif + int dll_init (const char *arg) { @@ -51,7 +55,7 @@ dll_handle dll_open (const char *fname) { - return (dll_handle) dlopen (fname, RTLD_LAZY | RTLD_GLOBAL); + return (dll_handle) dlopen (fname, RTLD_NOW | RTLD_GLOBAL); } int