mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 07:40:40 -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
274 B
C
11 lines
274 B
C
--- src/common/memory.h.orig 2017-07-12 17:53:15 UTC
|
|
+++ src/common/memory.h
|
|
@@ -42,7 +42,7 @@
|
|
#include <sanitizer/msan_interface.h>
|
|
#endif
|
|
|
|
-#ifdef __APPLE__
|
|
+#if __APPLE__ || __FreeBSD__
|
|
#define sys_mmap mmap
|
|
#define sys_munmap munmap
|
|
#define MAP_ANONYMOUS MAP_ANON
|