blob: baa98a0d46be77a0294c94654f931e9b37115442 [file] [log] [blame]
Patrick Williamsb58112e2024-03-07 11:16:36 -06001From 02cc21800fe29f566add525e63f619c0536d6e7b Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 13 Jan 2020 15:23:47 -0800
4Subject: [PATCH] meson misdetects 64bit atomics on mips/clang
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/util/u_atomic.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/util/u_atomic.c b/src/util/u_atomic.c
Andrew Geissler9aee5002022-03-30 16:27:02 +000013index 5a5eab4..e499516 100644
Andrew Geissler82c905d2020-04-13 13:39:40 -050014--- a/src/util/u_atomic.c
15+++ b/src/util/u_atomic.c
16@@ -21,7 +21,7 @@
17 * IN THE SOFTWARE.
18 */
19
20-#if defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
21+#if !defined(__clang__) && defined(MISSING_64BIT_ATOMICS) && defined(HAVE_PTHREAD)
22
23 #include <stdint.h>
24 #include <pthread.h>