Commit ef6a3f69 authored by Jérome Decoodt's avatar Jérome Decoodt

- added macosx version detection at runtime with...

- added macosx version detection at runtime with /System/Library/CoreServices/SystemVersion.plist file
- wrapped code
parent a0ff74f7
This diff is collapsed.
......@@ -25,6 +25,9 @@
#define CONFIG_ITEM_RANGED_INTEGER (CONFIG_ITEM_INTEGER + 1)
#define CONFIG_ITEM_KEY_BEFORE_10_3 (CONFIG_ITEM_KEY + 1)
#define CONFIG_ITEM_KEY_AFTER_10_3 (CONFIG_ITEM_KEY + 2)
#define MACOS_VERSION [[[NSDictionary dictionaryWithContentsOfFile: \
@"/System/Library/CoreServices/SystemVersion.plist"] \
objectForKey: @"ProductVersion"] floatValue]
@interface VLCConfigControl : NSView
{
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment