mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -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
11 lines
323 B
C++
11 lines
323 B
C++
--- src/common/dwarf/elf_reader.cc.orig 2017-07-12 17:53:15 UTC
|
|
+++ src/common/dwarf/elf_reader.cc
|
|
@@ -56,7 +56,7 @@
|
|
#endif
|
|
|
|
// Map Linux macros to their Apple equivalents.
|
|
-#if __APPLE__
|
|
+#if __APPLE__ || __FreeBSD__
|
|
#ifndef __LITTLE_ENDIAN
|
|
#define __LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__
|
|
#endif // __LITTLE_ENDIAN
|