blob: 2b27e8c72a936f9ca308a91556d7d3f80d595a06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- mozilla-release.orig/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.cc 2013-09-11 01:15:25.000000000 +0200
+++ mozilla-release/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.cc 2013-10-17 10:55:17.000000000 +0200
@@ -34,7 +34,20 @@
#include "common/stabs_reader.h"
#include <assert.h>
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
#include <stab.h>
+#else
+#define __define_stab(NAME, CODE, STRING) NAME=CODE,
+enum __stab_debug_code
+{
+__define_stab (N_FUN, 0x24, "FUN")
+__define_stab (N_SLINE, 0x44, "SLINE")
+__define_stab (N_SOL, 0x84, "SOL")
+__define_stab (N_SO, 0x64, "SO")
+LAST_UNUSED_STAB_CODE
+};
+#undef __define_stab
+#endif
#include <string.h>
#include <string>
|