VirtualBox

Ignore:
Timestamp:
Jan 25, 2021 2:18:14 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142407
Message:

USB/Darwin: Capture USB devices directly through IOUSBLib, no longer use VBoxUSB.kext (see bugref:9808). [build fix/hack]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp

    r87376 r87419  
    3030#include <IOKit/usb/IOUSBLib.h>
    3131#include <IOKit/IOCFPlugIn.h>
     32#ifndef __MAC_10_10 /* Quick hack: The following two masks appeared in 10.10. */
     33# define kUSBReEnumerateReleaseDeviceMask   RT_BIT_32(29)
     34# define kUSBReEnumerateCaptureDeviceMask   RT_BIT_32(30)
     35#endif
    3236
    3337#include <VBox/log.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette