[PATCH xserver 2/2] Replace all checks for 'linux' macro with '__linux__'

Adam Jackson ajax at nwnk.net
Thu May 11 19:46:25 UTC 2017

On Thu, 2017-05-11 at 12:30 +0300, Pekka Paalanen wrote:

> these two (I suppose the latter specifically) let the Meson build
> continue much further than before for me. Therefore:
> Tested-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>


remote: I: patch #155585 updated using rev 6634ffc4d26846dcf892f27682f9021f6d9956a9.
remote: I: patch #155586 updated using rev c394f6b27329d212d2a8b9b3c6da1ef7847c46f3.
remote: I: 2 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   318257029..c394f6b27  master -> master

> Checking if "CLOCK_MONOTONIC" compiles: NO

This'll be your next compile problem, although it should be a
configuration failure since Xwayland requires this. What do you see
about CLOCK_MONOTONIC in meson-logs/meson-log.txt ? Mine looks like:

Command line:  ccache cc /tmp/tmpffy0ic5t/testfile.c -O0 -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpffy0ic5t/output.obj


    #include <time.h>
    #include <unistd.h>
    #error CLOCK_MONOTONIC not defined

Compiler stdout:

Compiler stderr:

Checking if "CLOCK_MONOTONIC" compiles: YES

- ajax

More information about the xorg-devel mailing list