From dc962a1df6d529616f955e1227574752712c5a51 Mon Sep 17 00:00:00 2001 From: zhengshuxin Date: Tue, 11 Jul 2023 17:23:32 +0800 Subject: [PATCH] Don't hook recvmmsg/sendmmsg on Android platform. --- lib_fiber/c/include/fiber/fiber_define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_fiber/c/include/fiber/fiber_define.h b/lib_fiber/c/include/fiber/fiber_define.h index ff5510e7c..361420a7f 100644 --- a/lib_fiber/c/include/fiber/fiber_define.h +++ b/lib_fiber/c/include/fiber/fiber_define.h @@ -84,7 +84,7 @@ typedef int socket_t; # define FIBER_EINPROGRESS EINPROGRESS # include -# if defined(SYS_recvmmsg) && defined(SYS_sendmmsg) +# if defined(SYS_recvmmsg) && defined(SYS_sendmmsg) && !defined(ANDROID) # define HAS_MMSG # endif #endif