summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/mozannotation_client/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/crashreporter/mozannotation_client/src/lib.rs')
-rw-r--r--toolkit/crashreporter/mozannotation_client/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/crashreporter/mozannotation_client/src/lib.rs b/toolkit/crashreporter/mozannotation_client/src/lib.rs
index df2bd5bf94..2df133c4b9 100644
--- a/toolkit/crashreporter/mozannotation_client/src/lib.rs
+++ b/toolkit/crashreporter/mozannotation_client/src/lib.rs
@@ -101,6 +101,9 @@ extern "C" {
#[cfg(target_os = "windows")]
pub const ANNOTATION_SECTION: &'static [u8; 8] = b"mozannot";
+#[cfg(target_os = "macos")]
+pub const ANNOTATION_SECTION: &'static [u8; 16] = b"mozannotation\0\0\0";
+
// TODO: Use the following constants in the assembly below when constant
// expressions are stabilized: https://github.com/rust-lang/rust/issues/93332
#[cfg(any(target_os = "linux", target_os = "android"))]