electron/brightray/common/mac/foundation_util.h
Adam Roben 1a1fecf423 Bump the base SDK and deployment target to 10.8
This required working around an incompatibility in base/mac/foundation_util.h.
2013-03-28 17:50:07 -04:00

15 lines
521 B
Objective-C

#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