[vlc-commits] macosx: use a more precise (Mountain) Lion definition

Felix Paul Kühne git at videolan.org
Wed Aug 22 11:17:41 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Aug 22 11:17:07 2012 +0200| [6195d81f6a4db4ecfe1c958ab8826512814db5aa] | committer: Felix Paul Kühne

macosx: use a more precise (Mountain) Lion definition

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6195d81f6a4db4ecfe1c958ab8826512814db5aa
---

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

diff --git a/modules/gui/macosx/CompatibilityFixes.h b/modules/gui/macosx/CompatibilityFixes.h
index a0e2e17..b424754 100644
--- a/modules/gui/macosx/CompatibilityFixes.h
+++ b/modules/gui/macosx/CompatibilityFixes.h
@@ -26,7 +26,7 @@
 #pragma mark -
 #pragma OS detection code
 #define OSX_SNOW_LEOPARD (NSAppKitVersionNumber < 1115 && NSAppKitVersionNumber >= 1038)
-#define OSX_LION (NSAppKitVersionNumber < 1187 && NSAppKitVersionNumber >= 1115.2)
+#define OSX_LION (NSAppKitVersionNumber < 1162 && NSAppKitVersionNumber >= 1115.2)
 #define OSX_MOUNTAIN_LION NSAppKitVersionNumber >= 1162
 
 #pragma mark -



More information about the vlc-commits mailing list