[vlc-commits] macosx: for sakes of simplicity, assume that OSX_LION equals OSX_MOUNTAIN_LION everywhere
Felix Paul Kühne
git at videolan.org
Sun Sep 2 13:49:51 CEST 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Sep 2 13:49:15 2012 +0200| [f4d83b9a742e66126e4b63f5354123ac801dc161] | committer: Felix Paul Kühne
macosx: for sakes of simplicity, assume that OSX_LION equals OSX_MOUNTAIN_LION everywhere
(but not the other way around of course)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=f4d83b9a742e66126e4b63f5354123ac801dc161
---
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 fda48c1..70adb8d 100644
--- a/modules/gui/macosx/CompatibilityFixes.h
+++ b/modules/gui/macosx/CompatibilityFixes.h
@@ -27,7 +27,7 @@
#pragma OS detection code
#define OSX_LEOPARD (NSAppKitVersionNumber < 1038 && NSAppKitVersionNumber >= 949)
#define OSX_SNOW_LEOPARD (NSAppKitVersionNumber < 1115 && NSAppKitVersionNumber >= 1038)
-#define OSX_LION (NSAppKitVersionNumber < 1162 && NSAppKitVersionNumber >= 1115.2)
+#define OSX_LION (NSAppKitVersionNumber >= 1115.2)
#define OSX_MOUNTAIN_LION NSAppKitVersionNumber >= 1162
#pragma mark -
More information about the vlc-commits
mailing list