VirtualBox

Ignore:
Timestamp:
Jul 10, 2020 12:10:01 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139136
Message:

SUPDrv: Build fixes for Xcode 11 / SDK 10.13. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r85124 r85172  
    6767#include <IOKit/pwr_mgt/RootDomain.h>
    6868#include <IOKit/IODeviceTreeSupport.h>
    69 #include <IOKit/usb/IOUSBHIDDriver.h>
     69#if MAC_OS_X_VERSION_MIN_REQUIRED < 101100
     70# include <IOKit/usb/IOUSBHIDDriver.h>
     71#endif
    7072#include <IOKit/bluetooth/IOBluetoothHIDDriver.h>
    7173#include <IOKit/bluetooth/IOBluetoothHIDDriverTypes.h>
     
    12931295    RT_NOREF(pvUser); //PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser;
    12941296# ifdef DEBUG_bird
    1295     printf("supdrvDarwinLdrOpenVerifyCertificatCallback: pCert=%p hCertPaths=%p\n", pCert, hCertPaths);
     1297    printf("supdrvDarwinLdrOpenVerifyCertificatCallback: pCert=%p hCertPaths=%p\n", (void *)pCert, (void *)hCertPaths);
    12961298# endif
    12971299
     
    18991901static void supdrvDarwinResumeBuiltinKbd(void)
    19001902{
     1903    /** @todo macbook pro 16 w/ 10.15.5 as the "Apple Internal Keyboard /
     1904     *        Trackpad" hooked up to "HID Relay" / "AppleUserUSBHostHIDDevice"
     1905     *        and "AppleUserUSBHostHIDDevice" among other things, but not
     1906     *        "AppleUSBTCKeyboard". This change is probably older than 10.15,
     1907     *        given that IOUSBHIDDriver not is present in the 10.11 SDK. */
     1908#if MAC_OS_X_VERSION_MIN_REQUIRED < 101100
    19011909    /*
    19021910     * AppleUSBTCKeyboard KEXT is responsible for built-in keyboard management.
    1903      * We resume keyboard by accessing to its IOService. */
     1911     * We resume keyboard by accessing to its IOService.
     1912     */
    19041913    OSDictionary *pDictionary = IOService::serviceMatching("AppleUSBTCKeyboard");
    19051914    if (pDictionary)
     
    19191928        pDictionary->release();
    19201929    }
     1930#endif
    19211931}
    19221932
Note: See TracChangeset for help on using the changeset viewer.

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