28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From ffa6e26c7b5bdc532995d19adbab85d32ae87f42 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Wed, 13 Feb 2019 09:51:14 -0800
|
|
Subject: [PATCH] crashpad: Fix build with musl
|
|
|
|
musl is left out if we check just for glibc here, actual check could be to check for linux platform
|
|
|
|
Upsteam-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
third_party/crashpad/crashpad/util/linux/thread_info.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/third_party/crashpad/crashpad/util/linux/thread_info.h b/third_party/crashpad/crashpad/util/linux/thread_info.h
|
|
index 8b94effefb..6d0654b3a6 100644
|
|
--- a/third_party/crashpad/crashpad/util/linux/thread_info.h
|
|
+++ b/third_party/crashpad/crashpad/util/linux/thread_info.h
|
|
@@ -274,7 +274,7 @@ union FloatContext {
|
|
"Size mismatch");
|
|
#elif defined(ARCH_CPU_ARMEL)
|
|
static_assert(sizeof(f32_t::fpregs) == sizeof(user_fpregs), "Size mismatch");
|
|
-#if !defined(__GLIBC__)
|
|
+#if !defined(__linux__)
|
|
static_assert(sizeof(f32_t::vfp) == sizeof(user_vfp), "Size mismatch");
|
|
#endif
|
|
#elif defined(ARCH_CPU_ARM64)
|