commit | e7972b89432600ebe38e6eb67b9b65c1f34dfdc1 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Fri Nov 10 12:36:16 2017 +0100 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Fri Nov 10 16:37:54 2017 +0100 |
tree | 6186151b3c0c8ae83d55912089ac15f3a1a534c8 | |
parent | f53570a7a6155c42a9cc536948f26cb18dd9f32e [diff] |
util/u_thread: fix compilation on Mac OS Apparently, it doesn't have pthread barriers. p_config.h (which was originally used to guard this code) uses the __APPLE__ macro to detect Mac OS. Fixes: f0d3a4de75 ("util: move pipe_barrier into src/util and rename to util_barrier") Cc: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com>