* autoload.cc (EnumProcessModules): Add.

* dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules().
	* include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
This commit is contained in:
Corinna Vinschen
2004-09-14 08:29:12 +00:00
parent fc3a42749f
commit 599b41c4ec
4 changed files with 30 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ extern char *dlerror (void);
extern void dlfork (int);
/* following doesn't exist in Win32 API .... */
#define RTLD_DEFAULT NULL
/* valid values for mode argument to dlopen */
#define RTLD_LAZY 1 /* lazy function call binding */