blob: 4e69efa74688abe1b422c2cd828a51757494f4b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- remoting/host/host_settings.cc.orig 2021-07-28 08:16:52 UTC
+++ remoting/host/host_settings.cc
@@ -13,9 +13,9 @@
#include "remoting/host/mac/constants_mac.h"
#endif // defined(OS_APPLE)
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
#include "remoting/host/linux/file_path_util.h"
-#endif // defined(OS_LINUX)
+#endif // defined(OS_LINUX) || defined(OS_BSD)
namespace remoting {
@@ -46,7 +46,7 @@ HostSettings* HostSettings::GetInstance() {
#if defined(OS_APPLE)
static const base::FilePath settings_file(kHostSettingsFilePath);
static base::NoDestructor<FileHostSettings> instance(settings_file);
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
static base::NoDestructor<FileHostSettings> instance(base::FilePath(
GetConfigDirectoryPath().Append(GetHostHash() + ".settings.json")));
#else
|