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