Declare 10.9 version in Darwin

Fixes compilation issues in Mavericks
This commit is contained in:
João Ventura 2016-05-30 13:06:25 +01:00
parent 8247bc2b2b
commit f779978a42
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@
#define toNSString(str) [NSString stringWithUTF8String:(str)] #define toNSString(str) [NSString stringWithUTF8String:(str)]
#define fromNSString(str) [(str) UTF8String] #define fromNSString(str) [(str) UTF8String]
#ifndef NSAppKitVersionNumber10_9
#define NSAppKitVersionNumber10_9 1265
#endif
// menu.m // menu.m
@interface menuManager : NSObject { @interface menuManager : NSObject {
struct mapTable *items; struct mapTable *items;