[PATCH xserver 2/2] meson: Fix CLOCK_MONOTONIC test

Julien Cristau jcristau at debian.org
Thu May 11 21:38:15 UTC 2017


On Thu, May 11, 2017 at 17:21:04 -0400, Adam Jackson wrote:

> On Thu, 2017-05-11 at 17:17 -0400, Adam Jackson wrote:
> 
> > @@ -4,7 +4,10 @@ dri_dep = dependency('dri', required: build_dri2 or
> > build_dri3)
> >  conf_data = configuration_data()
> >  conf_data.set('_DIX_CONFIG_H_', '1')
> >  
> > +
> > +
> >  conf_data.set('MONOTONIC_CLOCK', cc.compiles('''
> > +    #define _POSIX_C_SOURCE 200112L
> >      #include <time.h>
> >      #include <unistd.h>
> >      #ifndef CLOCK_MONOTONIC
> 
> Forgive the excess spaces.
> 
Reviewed-by: Julien Cristau <jcristau at debian.org>
for the series.

Cheers,
Julien


More information about the xorg-devel mailing list