blob: 15485feb7174f46f20b48b86742565d0048027f0 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From bb2f0bea553d51d659a9bc46f7ae186885405151 Mon Sep 17 00:00:00 2001
2From: 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
13index e4bffa8..58e1ddd 100644
14--- 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>
25--
262.24.1
27