Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame^] | 1 | From 02cc21800fe29f566add525e63f619c0536d6e7b Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 13 Jan 2020 15:23:47 -0800 |
| 4 | Subject: [PATCH] meson misdetects 64bit atomics on mips/clang |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | Signed-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 | |
| 12 | diff --git a/src/util/u_atomic.c b/src/util/u_atomic.c |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 13 | index 5a5eab4..e499516 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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> |