diff options
-rw-r--r-- | frida_mode/src/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frida_mode/src/module.c b/frida_mode/src/module.c index 65b394cd..60e69fec 100644 --- a/frida_mode/src/module.c +++ b/frida_mode/src/module.c @@ -42,7 +42,7 @@ gboolean found_range(const GumRangeDetails *details, gpointer user_data) { } -#if defined(__linux__) +#if defined(__linux__) && !defined(__ANDROID__) static int on_dlclose(void *handle) { GArray * ranges = NULL; @@ -95,7 +95,7 @@ void module_init(void) { FOKF(cBLU "Module" cRST " - " cYEL " [%c]", handle_dlclose ? 'X' : ' '); -#if defined(__linux__) +#if defined(__linux__) && !defined(__ANDROID__) if (!handle_dlclose) { return; } page_size = gum_query_page_size(); |