| Index: sandbox/mac/xpc.cc
|
| diff --git a/sandbox/mac/xpc.cc b/sandbox/mac/xpc.cc
|
| index 670d8ad9e564169eb5e2b2d1c9bbfae770cdc583..b8d526bdad745c20a8bbcec34c24cdfd9830ba1b 100644
|
| --- a/sandbox/mac/xpc.cc
|
| +++ b/sandbox/mac/xpc.cc
|
| @@ -7,6 +7,8 @@
|
| namespace sandbox {
|
|
|
| bool InitializeXPC() {
|
| +#if !defined(MAC_OS_X_VERSION_10_7) || \
|
| + MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
|
| std::vector<std::string> path_list;
|
| path_list.push_back("/usr/lib/system/libxpc.dylib");
|
|
|
| @@ -15,6 +17,9 @@ bool InitializeXPC() {
|
| path_map[sandbox_mac::kModuleXpc_private_stubs] = path_list;
|
|
|
| return sandbox_mac::InitializeStubs(path_map);
|
| +#else
|
| + return true;
|
| +#endif
|
| }
|
|
|
| } // namespace sandbox
|
|
|