mac: Redeclare xpc calls for compatibility with -Wpartial-availability.
commit5dc60474a75859e6c3295549f4d2894d1bd81772
authorerikchen <erikchen@chromium.org>
Wed, 6 May 2015 20:28:36 +0000 (6 13:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 6 May 2015 20:29:01 +0000 (6 20:29 +0000)
tree167126e14281ea47a871f796180eb46ce179bbc5
parentf9487601c410591159203d1acc9c4f1372534f4b
mac: Redeclare xpc calls for compatibility with -Wpartial-availability.

The XPC system calls were first made available in OSX 10.7. To prevent
-Wpartial-availability from emitting warnings, the xpc functions that Chrome
uses must be redeclared.

BUG=471823

Review URL: https://codereview.chromium.org/1105073004

Cr-Commit-Position: refs/heads/master@{#328601}
sandbox/mac/xpc_message_server.cc
sandbox/mac/xpc_message_server.h
sandbox/mac/xpc_message_server_unittest.cc