summaryrefslogtreecommitdiff
path: root/make/check_epoll.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-23 18:49:06 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-23 18:49:06 +0000
commit58eae4fc8af1602396da456aab109eca8aaed7d6 (patch)
treeeaef18352cc4329dac0b662e115b987ea978237f /make/check_epoll.cpp
parent85a787b92b6de419fab2cd4fe118c0c7d47066d6 (diff)
Add test-compile checks for epoll and eventfd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11253 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/check_epoll.cpp')
-rw-r--r--make/check_epoll.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/check_epoll.cpp b/make/check_epoll.cpp
new file mode 100644
index 000000000..626d4475c
--- /dev/null
+++ b/make/check_epoll.cpp
@@ -0,0 +1,6 @@
+#include <sys/epoll.h>
+
+int main() {
+ int fd = epoll_create(1);
+ return (fd < 0);
+}