mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
Breakpad is a set of client and server components which implement a crash-reporting system. This is YET ANOTHER STEP to build Electron.io for FreeBSD. PR: 221320 Reported by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> Reviewed by: cpm, lifanov, mat (mentor), mmokhi, ultima Approved by: cpm, lifanov, mat (mentor), mmokhi, ultima Differential Revision: https://reviews.freebsd.org/D11773
15 lines
400 B
C++
15 lines
400 B
C++
--- src/common/linux/elfutils.cc.orig 2017-07-12 17:53:15 UTC
|
|
+++ src/common/linux/elfutils.cc
|
|
@@ -35,6 +35,12 @@
|
|
#include "common/linux/linux_libc_support.h"
|
|
#include "common/linux/elfutils-inl.h"
|
|
|
|
+#ifndef ElfW
|
|
+#define ElfW(type) _ElfW (Elf, __ELF_WORD_SIZE, type)
|
|
+#define _ElfW(e,w,t) _ElfW_1 (e, w, _##t)
|
|
+#define _ElfW_1(e,w,t) e##w##t
|
|
+#endif
|
|
+
|
|
namespace google_breakpad {
|
|
|
|
namespace {
|