summaryrefslogtreecommitdiffstats
path: root/src/util/u_queue.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-11-10 12:32:44 +0100
committerNicolai Hähnle <[email protected]>2017-11-20 18:15:53 +0100
commit81aabb20f38449973dbd9c003628986f947a9efb (patch)
tree488d15b231b54dabdb26a54e6f9d0797ee7b6209 /src/util/u_queue.h
parenta6e831172314f3f76d1b795209f6623e251483b8 (diff)
util/u_queue: really use futex-based fences
The relevant define changed in the final revision of the simple mutex patch. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/u_queue.h')
-rw-r--r--src/util/u_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_queue.h b/src/util/u_queue.h
index 57753bd31bc..d49f713e6ad 100644
--- a/src/util/u_queue.h
+++ b/src/util/u_queue.h
@@ -49,7 +49,7 @@ extern "C" {
#define UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY (1 << 0)
#define UTIL_QUEUE_INIT_RESIZE_IF_FULL (1 << 1)
-#if defined(__GNUC__) && defined(HAVE_FUTEX)
+#if defined(__GNUC__) && defined(HAVE_LINUX_FUTEX_H)
#define UTIL_QUEUE_FENCE_FUTEX
#else
#define UTIL_QUEUE_FENCE_STANDARD