Mercurial > hg > xemacs-beta
diff src/dlopen.c @ 263:727739f917cb r20-5b30
Import from CVS: tag r20-5b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:24:41 +0200 |
parents | 677f6a0ee643 |
children |
line wrap: on
line diff
--- a/src/dlopen.c Mon Aug 13 10:23:52 2007 +0200 +++ b/src/dlopen.c Mon Aug 13 10:24:41 2007 +0200 @@ -89,7 +89,10 @@ /* #### Is this right? */ GET_C_CHARPTR_EXT_FILENAME_DATA_ALLOCA (file, file); - handle = dlopen (file, RTLD_LAZY); +#ifndef RTLD_GLOBAL +#define RTLD_GLOBAL 0 +#endif + handle = dlopen (file, RTLD_LAZY|RTLD_GLOBAL); if (handle == NULL) { signal_error (Qerror,