diff options
author | Martin Storsjö <martin@martin.st> | 2021-10-28 14:02:32 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-10-28 14:11:46 +0300 |
commit | 8c94f95c8750c0d805e1a666d302756006554597 (patch) | |
tree | 410450f4be8e4bd2364a889c7d86d2a241418bc0 /.gitlab-ci.yml | |
parent | a55ff11da2430ae7057862f6565ce3b5a222afdc (diff) |
meson: Check for the pthread_getaffinity_np function before deciding to use it
Use the check result instead of hardcoding what OSes have got the
function.
This also requires checking for the pthread_np.h header and including
it while testing for functions in meson, but allows getting rid of the
hardcoded OS conditions in the source.
This fixes building for Android, if _GNU_SOURCE happens to be defined.
(It gets defined if building with a slightly nonstandard cross file
that defines "system = 'linux'", but it could also have been set by the
caller.)
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions