aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-third__party_perfetto_src_tracing_ipc_memfd.cc
blob: c3d8bfa075ee471d0a9d77aa58004a94f3f3768d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- third_party/perfetto/src/tracing/ipc/memfd.cc.orig	2021-04-14 01:15:27 UTC
+++ third_party/perfetto/src/tracing/ipc/memfd.cc
@@ -18,9 +18,10 @@
 
 #include <errno.h>
 
-#define PERFETTO_MEMFD_ENABLED()             \
-  PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
-      PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX)
+#define PERFETTO_MEMFD_ENABLED()               \
+  PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) ||   \
+      PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+      PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD)
 
 #if PERFETTO_MEMFD_ENABLED()