diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-12-15 15:15:05 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-12-15 15:15:05 +0400 |
commit | f98c2c936ca3637c634f0adef605602fe07d0b55 (patch) | |
tree | 20c75e7e49cce03a2520561a721db004033bd177 /source/blender/quicktime | |
parent | 11f2348383d3b8cde70506f8b013433b610c5d62 (diff) |
OSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_X_VERSION_MIN_REQUIRED comparison clause: If the code is loaded on an older system that does not include the symbol definition, the comparison still works
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r-- | source/blender/quicktime/apple/qtkit_export.m | 2 | ||||
-rw-r--r-- | source/blender/quicktime/quicktime_export.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/quicktime/apple/qtkit_export.m b/source/blender/quicktime/apple/qtkit_export.m index e0858cd5ec2..6935c908ee4 100644 --- a/source/blender/quicktime/apple/qtkit_export.m +++ b/source/blender/quicktime/apple/qtkit_export.m @@ -61,7 +61,7 @@ #import <QTKit/QTKit.h> #include <AudioToolbox/AudioToolbox.h> -#if (MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4) || !__LP64__ +#if (MAC_OS_X_VERSION_MIN_REQUIRED <= 1040) || !__LP64__ #error 64 bit build & OSX 10.5 minimum are needed for QTKit #endif diff --git a/source/blender/quicktime/quicktime_export.h b/source/blender/quicktime/quicktime_export.h index a3469ddafde..d773cdc8f3a 100644 --- a/source/blender/quicktime/quicktime_export.h +++ b/source/blender/quicktime/quicktime_export.h @@ -87,7 +87,7 @@ void makeqtstring(struct RenderData *rd, char *string); //for playanim.c -#if (defined(USE_QTKIT) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 && __LP64__) +#if (defined(USE_QTKIT) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 && __LP64__) //Include the quicktime codec types constants that are missing in QTKitDefines.h enum { kRawCodecType = 'raw ', |