From 3b3ce4a55b0c1f83eff37fb8544156e8961f3fa3 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 4 May 2017 13:46:23 +0100 Subject: 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 Signed-off-by: Jon Turney --- os/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/meson.build b/os/meson.build index e1741bb50..724e6d1a8 100644 --- a/os/meson.build +++ b/os/meson.build @@ -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 -- cgit v1.2.3