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:
rocky
2012-04-28 18:51:59 -04:00
parent e71066d5d9
commit 16f2cc0b17
2 changed files with 2 additions and 8 deletions

View File

@@ -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>