summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-device_usb_usb__context.cc
blob: dd97946fb79e16041671e8a493aeb00795d41ff7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- device/usb/usb_context.cc.orig	2019-03-11 22:00:58 UTC
+++ device/usb/usb_context.cc
@@ -58,7 +58,9 @@ void UsbContext::UsbEventHandler::Run() {
 
 void UsbContext::UsbEventHandler::Stop() {
   base::subtle::Release_Store(&running_, 0);
+#if !defined(OS_FREEBSD) // XXX(rene) not available in base version
   libusb_interrupt_handle_event(context_);
+#endif
 }
 
 UsbContext::UsbContext(PlatformUsbContext context) : context_(context) {