Commit fc6d6a0e authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

(cherry picked from commit 0849d6e5)
parent 3ae9d989
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
#pragma OS detection code #pragma OS detection code
#define OSX_LEOPARD (NSAppKitVersionNumber < 1038 && NSAppKitVersionNumber >= 949) #define OSX_LEOPARD (NSAppKitVersionNumber < 1038 && NSAppKitVersionNumber >= 949)
#define OSX_SNOW_LEOPARD (NSAppKitVersionNumber < 1115 && NSAppKitVersionNumber >= 1038) #define OSX_SNOW_LEOPARD (NSAppKitVersionNumber < 1115 && NSAppKitVersionNumber >= 1038)
#define OSX_LION NSAppKitVersionNumber >= 1115.2 #define OSX_LION (NSAppKitVersionNumber < 1162 && NSAppKitVersionNumber >= 1115.2)
#define OSX_MOUNTAIN_LION NSAppKitVersionNumber >= 1162
#pragma mark - #pragma mark -
#pragma Fixes for OS X Leopard (10.5) #pragma Fixes for OS X Leopard (10.5)
......
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