aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-base_profiler_stack__sampling__profiler__test__util.cc
blob: a4d40f3a6bd41dcf52a1d8fc09884a6a3cb8d4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/profiler/stack_sampling_profiler_test_util.cc.orig	2021-01-07 00:36:18 UTC
+++ base/profiler/stack_sampling_profiler_test_util.cc
@@ -32,7 +32,7 @@
 // Fortunately, it provides _alloca, which functions identically.
 #include <malloc.h>
 #define alloca _alloca
-#else
+#elif !defined(OS_BSD)
 #include <alloca.h>
 #endif