From 6a6b75b7b4772b03a0d9ee86ca34d4c3886136b2 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 2 Sep 2023 15:27:08 +0200 Subject: [ANDROID] And yet again another build fix, some many missing declaration compared to linux --- src/wrapped/wrappedlibdl.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c index 47c47c6b..29ce81ab 100644 --- a/src/wrapped/wrappedlibdl.c +++ b/src/wrapped/wrappedlibdl.c @@ -393,6 +393,15 @@ int my_dlclose(x64emu_t* emu, void *handle) DecRefCount(&dl->dllibs[nlib].lib, emu); return 0; } +#ifdef ANDROID +#ifndef RTLD_DL_SYMENT +#define RTLD_DL_SYMENT 1 +#endif +#ifndef RTLD_DL_LINKMAP +#define RTLD_DL_LINKMAP 2 +#endif +#endif + int my_dladdr1(x64emu_t* emu, void *addr, void *i, void** extra_info, int flags) { //int dladdr(void *addr, Dl_info *info); -- cgit 1.4.1