From 9252ff806c58242db0973ec017ed4843662496b5 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Mon, 15 Apr 2024 21:07:05 +0800 Subject: [PATCH 11/13] disc_helper: drop unsupported check --- modules/access/disc_helper.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git modules/access/disc_helper.h modules/access/disc_helper.h index 4da830d618..614ff04fde 100644 --- modules/access/disc_helper.h +++ modules/access/disc_helper.h @@ -29,15 +29,7 @@ inline static int DiscProbeMacOSPermission( vlc_object_t *p_this, const char *psz_file ) { #ifdef __APPLE__ - /* Check is only relevant starting macOS Catalina */ - if( __builtin_available( macOS 10.15, * ) ) - { - /* Continue. The check above cannot be negated. */ - } - else - { - return VLC_SUCCESS; - } + return VLC_SUCCESS; msg_Dbg( p_this, "Checking access permission for path %s", psz_file );