diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-23 18:49:06 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-23 18:49:06 +0000 |
commit | 58eae4fc8af1602396da456aab109eca8aaed7d6 (patch) | |
tree | eaef18352cc4329dac0b662e115b987ea978237f /make/check_eventfd.cpp | |
parent | 85a787b92b6de419fab2cd4fe118c0c7d47066d6 (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_eventfd.cpp')
-rw-r--r-- | make/check_eventfd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/check_eventfd.cpp b/make/check_eventfd.cpp new file mode 100644 index 000000000..9746ed733 --- /dev/null +++ b/make/check_eventfd.cpp @@ -0,0 +1,6 @@ +#include <sys/eventfd.h> + +int main() { + int fd = eventfd(0, 0); + return (fd < 0); +} |