mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-29 17:51:22 +02:00
BUILD: enable build on Linux/s390x
I would like to contribute the following fix to enable the Linux s390x platform. The fix was built against today's git master. I've attached the patch for review. Depending on your buildbot/jenkins/? requirements I can set up a virtual machine for automated building/testing of the package in this environment.
This commit is contained in:
parent
e32d1867f6
commit
5e98e3e998
@ -104,6 +104,10 @@
|
||||
#define __NR_epoll_create 254
|
||||
#define __NR_epoll_ctl 255
|
||||
#define __NR_epoll_wait 256
|
||||
#elif defined (__s390__) || defined(__s390x__)
|
||||
#define __NR_epoll_create 249
|
||||
#define __NR_epoll_ctl 250
|
||||
#define __NR_epoll_wait 251
|
||||
#endif /* $arch */
|
||||
#endif /* __NR_epoll_ctl */
|
||||
|
||||
@ -121,6 +125,8 @@
|
||||
#define __NR_splice 468
|
||||
#elif defined (__i386__)
|
||||
#define __NR_splice 313
|
||||
#elif defined(__s390__) || defined(__s390x__)
|
||||
#define __NR_splace 306
|
||||
#endif /* $arch */
|
||||
#endif /* __NR_splice */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user