VirtualBox

Changeset 64243 in vbox for trunk/src


Ignore:
Timestamp:
Oct 13, 2016 12:39:45 PM (8 years ago)
Author:
vboxsync
Message:

Windows build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvHostBase-win.cpp

    r64241 r64243  
    1616 */
    1717#define LOG_GROUP LOG_GROUP_DRV_HOST_BASE
    18 #include <mach/mach.h>
    19 #include <Carbon/Carbon.h>
    20 #include <IOKit/IOKitLib.h>
    21 #include <IOKit/storage/IOStorageDeviceCharacteristics.h>
    22 #include <IOKit/scsi/SCSITaskLib.h>
    23 #include <IOKit/scsi/SCSICommandOperationCodes.h>
    24 #include <IOKit/IOBSD.h>
    25 #include <DiskArbitration/DiskArbitration.h>
    26 #include <mach/mach_error.h>
     18#pragma warning(disable : 4163)
     19#define _interlockedbittestandset      they_messed_it_up_in_winnt_h_this_time_sigh__interlockedbittestandset
     20#define _interlockedbittestandreset    they_messed_it_up_in_winnt_h_this_time_sigh__interlockedbittestandreset
     21#define _interlockedbittestandset64    they_messed_it_up_in_winnt_h_this_time_sigh__interlockedbittestandset64
     22#define _interlockedbittestandreset64  they_messed_it_up_in_winnt_h_this_time_sigh__interlockedbittestandreset64
     23#include <iprt/win/windows.h>
     24#include <winioctl.h>
     25#include <ntddscsi.h>
     26#pragma warning(default : 4163)
     27#undef _interlockedbittestandset
     28#undef _interlockedbittestandreset
     29#undef _interlockedbittestandset64
     30#undef _interlockedbittestandreset64
     31
    2732#include <VBox/scsi.h>
    2833
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