summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_base__switches.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_base__switches.h')
-rw-r--r--www/chromium/files/patch-base_base__switches.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_base__switches.h b/www/chromium/files/patch-base_base__switches.h
new file mode 100644
index 000000000000..395a39f3ec35
--- /dev/null
+++ b/www/chromium/files/patch-base_base__switches.h
@@ -0,0 +1,20 @@
+--- base/base_switches.h.orig 2019-07-29 18:05:10 UTC
++++ base/base_switches.h
+@@ -36,7 +36,7 @@ extern const char kWaitForDebugger[];
+ extern const char kDisableUsbKeyboardDetect[];
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ extern const char kDisableDevShmUsage[];
+ #endif
+
+@@ -49,7 +49,7 @@ extern const char kEnableReachedCodeProfiler[];
+ extern const char kOrderfileMemoryOptimization[];
+ #endif
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ extern const char kEnableThreadInstructionCount[];
+ #endif
+