summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-01 20:29:46 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:40 -0500
commit57bfda37aebdef6a0f7bbb320d508dfaf1a89718 (patch)
treeba7e809d7e998fe088be8d702a95c6d0daa60ae2 /ipc
parentf105b741e549e2c2b985e1458ff6153c3d13929a (diff)
downloadUXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar.gz
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar.lz
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.tar.xz
UXP-57bfda37aebdef6a0f7bbb320d508dfaf1a89718.zip
MoonchildProductions#1251 - Part 6: Solaris needs an audio implementation.
Current versions of libcubeb already have a Sun audio implementation, but in Firefox 52 and earlier, this was all they had. I'm not completely happy with this implementation because it has issues like video freezing if the soundcard isn't working, but I think fixing this or pulling in a newer libcubeb would be going too far for too little gain.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/chromium/src/base/sys_info_posix.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/chromium/src/base/sys_info_posix.cc b/ipc/chromium/src/base/sys_info_posix.cc
index 1b88883eb..6adbb1c06 100644
--- a/ipc/chromium/src/base/sys_info_posix.cc
+++ b/ipc/chromium/src/base/sys_info_posix.cc
@@ -133,6 +133,10 @@ std::string SysInfo::OperatingSystemName() {
return std::string(info.sysname);
}
+// Solaris <sys/utsname.h> contains "extern struct utsname utsname;"
+// As a consequence, any use of utsname has to be proceeded with struct on
+// Solaris. See Mozilla bugs 758483 and 1353332.
+
// static
std::string SysInfo::CPUArchitecture() {
#if !defined(XP_SOLARIS)