diff --git a/libavdevice/audiotoolbox.m b/libavdevice/audiotoolbox.m index ae91a2bc62..3bd707f236 100644 --- a/libavdevice/audiotoolbox.m +++ b/libavdevice/audiotoolbox.m @@ -85,7 +85,7 @@ static av_cold int at_write_header(AVFormatContext *avctx) AudioObjectPropertyAddress prop; prop.mSelector = kAudioHardwarePropertyDevices; prop.mScope = kAudioObjectPropertyScopeGlobal; -#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1200 +#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000 prop.mElement = kAudioObjectPropertyElementMain; #else prop.mElement = kAudioObjectPropertyElementMaster;