aboutsummaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
blob: 4d8abccd994dbb59a18af31c0eace99ec86e98e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- tools/json_schema_compiler/cpp_bundle_generator.py.orig	2025-04-22 20:15:27 UTC
+++ tools/json_schema_compiler/cpp_bundle_generator.py
@@ -140,7 +140,7 @@ class CppBundleGenerator(object):
       elif platform == Platforms.FUCHSIA:
         ifdefs.append('BUILDFLAG(IS_FUCHSIA)')
       elif platform == Platforms.LINUX:
-        ifdefs.append('BUILDFLAG(IS_LINUX)')
+        ifdefs.append('BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)')
       elif platform == Platforms.MAC:
         ifdefs.append('BUILDFLAG(IS_MAC)')
       elif platform == Platforms.WIN: