Commit 6195d81f authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: use a more precise (Mountain) Lion definition

parent aaec0d4e
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#pragma mark - #pragma mark -
#pragma OS detection code #pragma OS detection code
#define OSX_SNOW_LEOPARD (NSAppKitVersionNumber < 1115 && NSAppKitVersionNumber >= 1038) #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 #define OSX_MOUNTAIN_LION NSAppKitVersionNumber >= 1162
#pragma mark - #pragma mark -
......
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