Re: [PATCH xserver] meson: Fix epoll detection

2017-08-14 Thread Eric Anholt
Peter Harris writes: > On 2017-08-11 5:50 AM, Peter Hutterer wrote: >> On Tue, Aug 08, 2017 at 11:16:13AM -0400, Peter Harris wrote: >>> The epoll code depends on epoll_create1, not epoll_create. >>> >>> The trinary " ? 1 : false" is used because HAVE_EPOLL_CREATE1 is

Re: [PATCH xserver] meson: Fix epoll detection

2017-08-11 Thread Peter Harris
On 2017-08-11 5:50 AM, Peter Hutterer wrote: > On Tue, Aug 08, 2017 at 11:16:13AM -0400, Peter Harris wrote: >> The epoll code depends on epoll_create1, not epoll_create. >> >> The trinary " ? 1 : false" is used because HAVE_EPOLL_CREATE1 is tested >> with #if instead of #ifdef. > > might be

Re: [PATCH xserver] meson: Fix epoll detection

2017-08-11 Thread Peter Hutterer
On Tue, Aug 08, 2017 at 11:16:13AM -0400, Peter Harris wrote: > The epoll code depends on epoll_create1, not epoll_create. > > The trinary " ? 1 : false" is used because HAVE_EPOLL_CREATE1 is tested > with #if instead of #ifdef. > > Signed-off-by: Peter Harris > --- >

[PATCH xserver] meson: Fix epoll detection

2017-08-08 Thread Peter Harris
The epoll code depends on epoll_create1, not epoll_create. The trinary " ? 1 : false" is used because HAVE_EPOLL_CREATE1 is tested with #if instead of #ifdef. Signed-off-by: Peter Harris --- include/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff