aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-base_debug_elf__reader.cc
blob: 594dab0323927dd2fc95ee8aeaa2274538d63415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- base/debug/elf_reader.cc.orig	2025-03-24 20:50:14 UTC
+++ base/debug/elf_reader.cc
@@ -49,6 +49,10 @@ constexpr char kGnuNoteName[] = "GNU";
 
 constexpr char kGnuNoteName[] = "GNU";
 
+#ifndef NT_GNU_BUILD_ID
+#define NT_GNU_BUILD_ID 3
+#endif
+
 // Returns a pointer to the header of the ELF binary mapped into memory, or a
 // null pointer if the header is invalid. Here and below |elf_mapped_base| is a
 // pointer to the start of the ELF image.