Commit 0849d6e5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: update check for Lion and add another one for Mountain Lion

parent b9f859f6
......@@ -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)
......
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