summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/Makefile
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-12-12 07:07:40 -0800
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-12-14 10:51:53 +0100
commit51e75b39838427f5eb66b0038672b2ca8ced8e93 (patch)
tree2744865b76272bd8bf566721f2fa8c56af8bff0e /libc/sysdeps/linux/xtensa/Makefile
parent7b1c4fa9bd8df64c8002ea4e613c8952bdfefbdd (diff)
xtensa: add custom bits/poll.h
Definitions of POLLWRNORM, POLLWRBAND and POLLREMOVE in xtensa linux kernel are non-standard. Provide bits/poll.h with correct values for these constants. This fixes the following strace build errors: In file included from xlat/pollflags.h:4:0, from poll.c:34: ./static_assert.h:40:24: error: static assertion failed: "POLLWRBAND != 0x0100" # define static_assert _Static_assert ^ xlat/pollflags.h:75:1: note: in expansion of macro ‘static_assert’ static_assert((POLLWRBAND) == (0x0100), "POLLWRBAND != 0x0100"); ^~~~~~~~~~~~~ ./static_assert.h:40:24: error: static assertion failed: "POLLREMOVE != 0x0800" # define static_assert _Static_assert ^ xlat/pollflags.h:117:1: note: in expansion of macro ‘static_assert’ static_assert((POLLREMOVE) == (0x0800), "POLLREMOVE != 0x0800"); ^~~~~~~~~~~~~ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/xtensa/Makefile')
0 files changed, 0 insertions, 0 deletions