mescc: Support Tinycc 0.9.27: Drop dlclose, dlopen.
* lib/libc+tcc.c (dlclose, dlopen): Remove. * include/dlfcn.h (RTLD_DEFAULT): Add.
This commit is contained in:
parent
a1334148ca
commit
63bf9bb2f7
|
@ -34,6 +34,7 @@
|
|||
#define RTLD_GLOBAL 0x00100
|
||||
#define RTLD_LOCAL 0
|
||||
#define RTLD_NODELETE 0x01000
|
||||
#define RTLD_DEFAULT 0
|
||||
|
||||
void *dlopen (char const *filename, int flags);
|
||||
int dlclose (void *handle);
|
||||
|
@ -41,4 +42,3 @@ int dlclose (void *handle);
|
|||
#endif // ! WITH_GLIBC
|
||||
|
||||
#endif // __MES_DLFCN_H
|
||||
|
||||
|
|
|
@ -47,18 +47,6 @@
|
|||
|
||||
#endif // !__MESC__
|
||||
|
||||
int
|
||||
dlclose (void *handle)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *
|
||||
dlopen (char const *filename, int flags)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *
|
||||
search_path (char const *file_name)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue