Do not need DARWIN_10_OR_GREATER but can use __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ instead courtesy Natalia Portillo. Savannah Bug #36330 https://savannah.gnu.org/bugs/?36330
This commit is contained in:
@@ -70,7 +70,7 @@ typedef enum {
|
||||
|
||||
#include <mach/mach.h>
|
||||
#include <Carbon/Carbon.h>
|
||||
#ifdef DARWIN_10_OR_GREATER
|
||||
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1040
|
||||
# include <IOKit/scsi/SCSITaskLib.h>
|
||||
#else
|
||||
# include <IOKit/scsi-commands/SCSITaskLib.h>
|
||||
@@ -92,7 +92,7 @@ typedef enum {
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <IOKit/IOKitLib.h>
|
||||
#include <IOKit/IOBSD.h>
|
||||
#ifdef DARWIN_10_OR_GREATER
|
||||
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1040
|
||||
# include <IOKit/scsi/IOSCSIMultimediaCommandsDevice.h>
|
||||
#else
|
||||
# include <IOKit/scsi-commands/IOSCSIMultimediaCommandsDevice.h>
|
||||
|
||||
Reference in New Issue
Block a user