cocoa-cb: guard color spaces that are only available on 10.15.4 upwards

This commit is contained in:
der richter
2024-06-15 15:18:43 +02:00
parent e3a290b618
commit 55241da4ad
4 changed files with 20 additions and 1 deletions

View File

@@ -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