[vlc-commits] macosx: add Big Sur detection

Felix Paul Kühne git at videolan.org
Thu Dec 3 06:06:02 UTC 2020


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Nov 30 17:07:29 2020 +0100| [9bfdc62bd7e0afb1b1b0b5a9cab62662ca466d68] | committer: Felix Paul Kühne

macosx: add Big Sur detection

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9bfdc62bd7e0afb1b1b0b5a9cab62662ca466d68
---

 modules/gui/macosx/CompatibilityFixes.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/macosx/CompatibilityFixes.h b/modules/gui/macosx/CompatibilityFixes.h
index 752205f84a..7433d447a0 100644
--- a/modules/gui/macosx/CompatibilityFixes.h
+++ b/modules/gui/macosx/CompatibilityFixes.h
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * CompatibilityFixes.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2011-2019 VLC authors and VideoLAN
+ * Copyright (C) 2011-2020 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
@@ -37,6 +37,7 @@ NS_ASSUME_NONNULL_BEGIN
 #define OSX_HIGH_SIERRA_AND_HIGHER (NSAppKitVersionNumber >= 1560)
 #define OSX_MOJAVE_AND_HIGHER (NSAppKitVersionNumber >= 1639.10)
 #define OSX_CATALINA_AND_HIGHER (NSAppKitVersionNumber >= 1894.00)
+#define OSX_BIGSUR_AND_HIGHER (NSAppKitVersionNumber >= 2022.00)
 
 // Sierra only APIs
 #ifndef MAC_OS_X_VERSION_10_12



More information about the vlc-commits mailing list