mirror of
https://git.freebsd.org/ports.git
synced 2025-05-03 12:06:39 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
11 lines
589 B
C++
11 lines
589 B
C++
--- remoting/host/heartbeat_sender.cc.orig 2023-03-30 00:33:55 UTC
|
|
+++ remoting/host/heartbeat_sender.cc
|
|
@@ -111,7 +111,7 @@ const net::BackoffEntry::Policy kBackoffPolicy = {
|
|
std::string GetHostname() {
|
|
// TODO(crbug.com/1052397): Revisit the macro expression once build flag
|
|
// switch of lacros-chrome is complete.
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
|
return net::GetHostName();
|
|
#elif BUILDFLAG(IS_WIN)
|
|
wchar_t buffer[MAX_PATH] = {0};
|