Skip to content

Commit

Permalink
Don't test eventfd on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengshuxin committed Dec 29, 2022
1 parent 9da39ed commit e28c539
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib_fiber/unit_test/io/eventfd.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#include "stdafx.h"
#include "test_io.h"

#ifdef __linux__
#include <sys/eventfd.h>
#endif

int test_eventfd(AUT_LINE *test_line acl_unused, void *arg acl_unused)
{
Expand Down

0 comments on commit e28c539

Please sign in to comment.