1 diff --git a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
2 index ca353c4..a6cb5f9 100644
3 --- a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
4 +++ b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
5 @@ -490,7 +490,9 @@ bool ExceptionHandler::SimulateSignalDelivery(int sig) {
6 siginfo.si_code = SI_USER;
7 siginfo.si_pid = getpid();
9 +#if defined(__GLIBC__)
12 return HandleSignal(sig, &siginfo, &context);
15 @@ -675,9 +677,14 @@ bool ExceptionHandler::WriteMinidump() {
16 sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
20 +#if defined(__GLIBC__)
21 int getcontext_result = getcontext(&context.context);
22 if (getcontext_result)
29 // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is retrieved