diff options
author | Jon Turney <[email protected]> | 2017-11-13 10:13:39 +0000 |
---|---|---|
committer | Jon Turney <[email protected]> | 2017-11-16 13:51:25 +0000 |
commit | 8ceccbf80dea7ac34cda68ec3117d80dd8922159 (patch) | |
tree | bfa42f9fabd7bc2629bf11a3a0e2be0b6897610b /src/mesa | |
parent | ff018a3f555238efc060ff4dc9cf27c1a0830522 (diff) |
meson: Don't define HAVE_PTHREAD only on linux
I'm not sure of the reason for this. I don't see anything like this in
configure.ac
In include/c11/threads.h the cases are:
1) building for Windows -> threads_win32.h
2) HAVE_PTHREAD -> threads_posix.h
3) Not supported on this platform
So not defining HAVE_PTHREAD for anything not Windows just means we can't
build at all.
When we are building for Windows, I'm not sure if dependency('threads')
would ever find anything, or defining HAVE_PTHREAD has any effect, but avoid
defining it there, just in case.
Signed-off-by: Jon Turney <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions