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:
Jan Nieuwenhuizen 2018-06-18 22:56:06 +02:00
parent a1334148ca
commit 63bf9bb2f7
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
2 changed files with 1 additions and 13 deletions

View File

@ -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

View File

@ -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)
{