summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx/launcherXPCService/LauncherXPCService.mm
blob: 5ec3be0a1c6f36d7fa4f72dda1b1e9fa626aa925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <AvailabilityMacros.h>

#if !defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
#define BUILDING_ON_SNOW_LEOPARD 1
#endif

#if !BUILDING_ON_SNOW_LEOPARD
#define __XPC_PRIVATE_H__
#include <xpc/xpc.h>

// Returns 0 if successful. This is launching as self. No need for further authorization.
int _validate_authorization(xpc_object_t message)
{
    return 0;
}

#endif
OpenPOWER on IntegriCloud