From e28c539c28ef823920f2527b4b7cb7777526d3d9 Mon Sep 17 00:00:00 2001 From: zhengshuxin Date: Thu, 29 Dec 2022 22:21:50 +0800 Subject: [PATCH] Don't test eventfd on MacOS --- lib_fiber/unit_test/io/eventfd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib_fiber/unit_test/io/eventfd.cpp b/lib_fiber/unit_test/io/eventfd.cpp index ff25e4e2c..958b8b394 100644 --- a/lib_fiber/unit_test/io/eventfd.cpp +++ b/lib_fiber/unit_test/io/eventfd.cpp @@ -1,6 +1,9 @@ #include "stdafx.h" #include "test_io.h" + +#ifdef __linux__ #include +#endif int test_eventfd(AUT_LINE *test_line acl_unused, void *arg acl_unused) {