mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-21 17:00:53 +02:00
meson: Test to build xserver_poll.c was inverted
Test to build xserver_poll.c was inverted compared to autoconf. Build xserver_poll.c if poll is missing. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
4b7dd6d1aa
commit
3b3ce4a55b
1 changed files with 2 additions and 2 deletions
|
|
@ -42,10 +42,10 @@ endif
|
|||
if not cc.has_function('timingsafe_memcmp')
|
||||
srcs_libc += 'timingsafe_memcmp.c'
|
||||
endif
|
||||
|
||||
if cc.has_function('poll')
|
||||
if not cc.has_function('poll')
|
||||
srcs_os += 'xserver_poll.c'
|
||||
endif
|
||||
|
||||
if cc.has_function('sigaction')
|
||||
srcs_os += 'busfault.c'
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue