mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/74.0.3729.169..75.0.3770.80?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de>
11 lines
547 B
C++
11 lines
547 B
C++
--- device/gamepad/gamepad_provider.cc.orig 2019-06-04 18:55:24 UTC
|
|
+++ device/gamepad/gamepad_provider.cc
|
|
@@ -167,7 +167,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
|
|
|
|
if (!polling_thread_)
|
|
polling_thread_.reset(new base::Thread("Gamepad polling thread"));
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
// On Linux, the data fetcher needs to watch file descriptors, so the message
|
|
// loop needs to be a libevent loop.
|
|
const base::MessageLoop::Type kMessageLoopType = base::MessageLoop::TYPE_IO;
|