Skip to content

Commit

Permalink
attempt linux build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
roxanneskelly committed Jul 19, 2024
1 parent 2cf2cd2 commit a2e69f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build/patches/crash_on_fatal_error.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/rtc_base/checks.cc b/rtc_base/checks.cc
index e732a2659d..29baf495e4 100644
index e732a2659d..cbdd545ccb 100644
--- a/rtc_base/checks.cc
+++ b/rtc_base/checks.cc
@@ -69,13 +69,22 @@ RTC_NORETURN void WriteFatalLog(absl::string_view output) {
@@ -69,13 +69,26 @@ RTC_NORETURN void WriteFatalLog(absl::string_view output) {
__android_log_print(ANDROID_LOG_ERROR, RTC_LOG_TAG_ANDROID, "%s\n",
output_str.c_str());
#endif
Expand All @@ -22,7 +22,11 @@ index e732a2659d..29baf495e4 100644
+ *null_ptr = 0xDEADBEEF;
+ while (true)
+ {
+#if defined(WEBRTC_WIN)
+ _sleep(1);
+#else
+ sleep(1);
+#endif
+ }
}

Expand Down

0 comments on commit a2e69f1

Please sign in to comment.