diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-11 10:12:24 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:11 +0100 |
commit | 257323e525f0cc2774bea4823b3518d0dce87142 (patch) | |
tree | 2b68e1361e13b6ea415393702d172a0131f39e52 /libc/sysdeps/linux/common/stubs.c | |
parent | dde074b3905cce833e1cdca591174454e046083e (diff) |
epoll: Use epoll_create1 if arch does not have the epoll_create syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r-- | libc/sysdeps/linux/common/stubs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c index 1f985e05f..0f000f0ed 100644 --- a/libc/sysdeps/linux/common/stubs.c +++ b/libc/sysdeps/linux/common/stubs.c @@ -94,7 +94,8 @@ make_stub(create_module) make_stub(delete_module) #endif -#if !defined __NR_epoll_create && defined __UCLIBC_HAS_EPOLL__ +#if !defined __NR_epoll_create && defined __UCLIBC_HAS_EPOLL__ \ + && !defined __NR_epoll_create1 make_stub(epoll_create) #endif |