From 566ab5038b083fd39313f3eac3abde36c77b5e4a Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 18 Feb 2025 16:02:52 -0800 Subject: [PATCH] do not use syscall on android (issue #1015) --- src/prim/unix/prim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prim/unix/prim.c b/src/prim/unix/prim.c index f9f38f4e..37dd873d 100644 --- a/src/prim/unix/prim.c +++ b/src/prim/unix/prim.c @@ -57,7 +57,7 @@ terms of the MIT license. A copy of the license can be found in the file #include #endif -#if defined(__linux__) || defined(__FreeBSD__) +#if (defined(__linux__) && !defined(__ANDROID__)) || defined(__FreeBSD__) #define MI_HAS_SYSCALL_H #include #endif