[PATCH xserver 2/2] meson: Fix CLOCK_MONOTONIC test
Adam Jackson
ajax at nwnk.net
Thu May 11 21:21:04 UTC 2017
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.
- ajax
More information about the xorg-devel
mailing list