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:
Adam Roben 2013-03-28 17:16:35 -04:00
parent e4e4cb6ec4
commit 1a1fecf423
7 changed files with 23 additions and 7 deletions

View 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