mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
cocoa-cb: guard color spaces that are only available on 10.15.4 upwards
This commit is contained in:
@@ -19,6 +19,10 @@ if get_option('optimization') != '0'
|
||||
swift_flags += '-O'
|
||||
endif
|
||||
|
||||
if macos_10_15_4_features.allowed()
|
||||
swift_flags += ['-D', 'HAVE_MACOS_10_15_4_FEATURES']
|
||||
endif
|
||||
|
||||
if macos_11_features.allowed()
|
||||
swift_flags += ['-D', 'HAVE_MACOS_11_FEATURES']
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user