mirror of
https://github.com/mirror/make.git
synced 2025-01-10 12:20:18 +08:00
19a69bafc0
w32/include/dlfcn.h: New file. w32/compat/posixfcn.c: Include dlfcn.h. (dlopen, dlerror, dlsym) [MAKE_LOAD]: New functions, in support of dynamic loading. config.h.W32.template (MAKE_LOAD): Define. load.c (load_object) [HAVE_DOS_PATHS]: Support backslashes and drive letters in file names of dynamic objects.
14 lines
284 B
C
14 lines
284 B
C
/* dlfcn.h replacement for MS-Windows build. */
|
|
#ifndef DLFCN_H
|
|
#define DLFCN_H
|
|
|
|
#define RTLD_LAZY 1
|
|
#define RTLD_NOW 2
|
|
#define RTLD_GLOBAL 4
|
|
|
|
extern void *dlopen (const char *, int);
|
|
extern void *dlsym (void *, const char *);
|
|
extern char *dlerror (void);
|
|
|
|
#endif /* DLFCN_H */
|