netty5/transport-native-epoll/src
Norman Maurer d4ec702faf Correctly take architecture into account when define syscalls for recvmmsg and sendmmsg usage (#9844)
Motivation:

https://github.com/netty/netty/pull/9797 changed the code for recvmmsg and sendmmsg to use the syscalls directly to remvove the dependency on newer GLIBC versions. Unfortunally it made the assumption that the syscall numbers are the same for different architectures, which is not the case.

Thanks to @jayv for pointing it out

Modifications:

Add #if, #elif and #else declarations to ensure we pick the correct syscall number (or not support if if the architecture is not supported atm).

Result:

Pick the correct syscall number depending on the architecture.
2019-12-05 09:03:12 +01:00
..
main Correctly take architecture into account when define syscalls for recvmmsg and sendmmsg usage (#9844) 2019-12-05 09:03:12 +01:00
test/java/io/netty/channel/epoll Remove support for epoll level-triggered (#9826) 2019-12-04 20:09:12 +01:00