[vlc-commits] macosx: add Big Sur detection
Felix Paul Kühne
git at videolan.org
Wed Dec 9 16:33:21 UTC 2020
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Nov 30 17:07:29 2020 +0100| [2d58cd600b8a45ca2d84285fc873bc482ea9be2c] | committer: Felix Paul Kühne
macosx: add Big Sur detection
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d58cd600b8a45ca2d84285fc873bc482ea9be2c
---
modules/gui/macosx/main/CompatibilityFixes.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/macosx/main/CompatibilityFixes.h b/modules/gui/macosx/main/CompatibilityFixes.h
index e0a2eba8f3..93ccdc80c4 100644
--- a/modules/gui/macosx/main/CompatibilityFixes.h
+++ b/modules/gui/macosx/main/CompatibilityFixes.h
@@ -41,3 +41,5 @@ extern NSString *const NSCollectionViewSupplementaryElementKind;
#endif
NS_ASSUME_NONNULL_END
+
+#define OSX_BIGSUR_AND_HIGHER (NSAppKitVersionNumber >= 2022.00)
More information about the vlc-commits
mailing list