From b018abd0d0bb0cca792b029105e42588cb825433 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 5b55c24a76..fb1690a63c 100644
|
--- a/third_party/crashpad/crashpad/util/linux/thread_info.h
|
+++ b/third_party/crashpad/crashpad/util/linux/thread_info.h
|
@@ -273,7 +273,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)
|