summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/eventfd_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/eventfd_test.cpp b/cmake/eventfd_test.cpp
index 8abd9c381..ab45b653f 100644
--- a/cmake/eventfd_test.cpp
+++ b/cmake/eventfd_test.cpp
@@ -3,6 +3,6 @@
int main()
{
int i = eventfd(0, EFD_NONBLOCK);
- return i > 0 ? 1 : 0;
+ return i >= 0 ? 1 : 0;
}