commit | 647f2bfd2a9214e5bebb2290252d013ccbbb290c | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Wed May 30 15:53:43 2012 +0300 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu May 31 13:53:51 2012 -0400 |
tree | 7a3e771586b5dc8098ab6d4fccec49e5bbae0a1e | |
parent | 200019c0c66ec757353ffaaea8d9c98da37f26c8 [diff] [blame] |
window: add wrapper for EPOLL_CLOEXEC Android does not have EPOLL_CLOEXEC, so add a fallback. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/shared/os-compatibility.h b/shared/os-compatibility.h index ca753b6..6ada7b6 100644 --- a/shared/os-compatibility.h +++ b/shared/os-compatibility.h
@@ -36,4 +36,7 @@ int os_socketpair_cloexec(int domain, int type, int protocol, int *sv); +int +os_epoll_create_cloexec(void); + #endif /* OS_COMPATIBILITY_H */