Skip to content

Commit 6c80736

Browse files
committed
avsynth pre 10.14
1 parent 2b51544 commit 6c80736

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

frontend/drivers/platform_darwin.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030

3131
#include <CoreFoundation/CoreFoundation.h>
3232
#include <CoreFoundation/CFArray.h>
33+
#if !defined(OSX) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 101400)
3334
#import <AVFoundation/AVFoundation.h>
35+
#endif
3436

3537
#ifdef HAVE_CONFIG_H
3638
#include "../../config.h"
@@ -1028,6 +1030,7 @@ static bool frontend_darwin_accessibility_speak(int speed,
10281030
else if (speed > 10)
10291031
speed = 10;
10301032

1033+
#if !defined(OSX) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 101400)
10311034
if (@available(macOS 10.14, iOS 7, tvOS 9, *))
10321035
{
10331036
static dispatch_once_t once;
@@ -1052,6 +1055,7 @@ static bool frontend_darwin_accessibility_speak(int speed,
10521055
[synth speakUtterance:utterance];
10531056
return true;
10541057
}
1058+
#endif
10551059

10561060
#if defined(OSX)
10571061
return accessibility_speak_macos(speed, speak_text, priority);

0 commit comments

Comments
 (0)