vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Aug 22 11:02:57 2012 +0200| [0849d6e510d6e46a9a90f24d96fc800dfbdeb998] | committer: Felix Paul Kühne
macosx: update check for Lion and add another one for Mountain Lion > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0849d6e510d6e46a9a90f24d96fc800dfbdeb998 --- 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 2f9cd32..a0e2e17 100644 --- a/modules/gui/macosx/CompatibilityFixes.h +++ b/modules/gui/macosx/CompatibilityFixes.h @@ -26,7 +26,8 @@ #pragma mark - #pragma OS detection code #define OSX_SNOW_LEOPARD (NSAppKitVersionNumber < 1115 && NSAppKitVersionNumber >= 1038) -#define OSX_LION NSAppKitVersionNumber >= 1115.2 +#define OSX_LION (NSAppKitVersionNumber < 1187 && NSAppKitVersionNumber >= 1115.2) +#define OSX_MOUNTAIN_LION NSAppKitVersionNumber >= 1162 #pragma mark - #pragma Fixes for OS X Snow Leopard (10.6) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
