vlc | branch: master | David Fuhrmann <[email protected]> | Sun Oct 21 21:33:32 2018 +0200| [608de0ae39e2ac0e18ed1a1f2b6010ac58eab09d] | committer: David Fuhrmann
qtsound: Only redeclare function if it does not exist in sdk > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=608de0ae39e2ac0e18ed1a1f2b6010ac58eab09d --- modules/access/qtsound.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m index 6950ba3e2c..8d5f0831ef 100644 --- a/modules/access/qtsound.m +++ b/modules/access/qtsound.m @@ -41,14 +41,17 @@ #define QTKIT_VERSION_MIN_REQUIRED 70603 +#import <AvailabilityMacros.h> #import <QTKit/QTKit.h> #import <AVFoundation/AVFoundation.h> +#ifndef MAC_OS_X_VERSION_10_14 @interface AVCaptureDevice (AVCaptureDeviceAuthorizationSince10_14) + (void)requestAccessForMediaType:(AVMediaType)mediaType completionHandler:(void (^)(BOOL granted))handler API_AVAILABLE(macos(10.14), ios(7.0)); @end +#endif /***************************************************************************** * Local prototypes. _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
