Bump the base SDK and deployment target to 10.8
This required working around an incompatibility in base/mac/foundation_util.h.
This commit is contained in:
parent
e4e4cb6ec4
commit
1a1fecf423
7 changed files with 23 additions and 7 deletions
15
brightray/common/mac/foundation_util.h
Normal file
15
brightray/common/mac/foundation_util.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef BRIGHTRAY_COMMON_MAC_FOUNDATION_UTIL_H_
|
||||
#define BRIGHTRAY_COMMON_MAC_FOUNDATION_UTIL_H_
|
||||
|
||||
// This header exists to work around incompatibilities between
|
||||
// base/mac/foundation_util.h and the 10.8 SDK.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
// base/mac/foundation_util.h contains an incompatible declaration of NSSearchPathDirectory,
|
||||
// so here we #define it to be something else.
|
||||
#define NSSearchPathDirectory NSSearchPathDirectory___PRE_10_8
|
||||
#import "base/mac/foundation_util.h"
|
||||
#undef NSSearchPathDirectory
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue