From 81aabb20f38449973dbd9c003628986f947a9efb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 10 Nov 2017 12:32:44 +0100 Subject: [PATCH] util/u_queue: really use futex-based fences MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The relevant define changed in the final revision of the simple mutex patch. Reviewed-by: Marek Olšák --- src/util/u_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2