android_mt6572_jiabo/external/lldb/source/Host/macosx/launcherXPCService/LauncherXPCService.mm
2025-09-05 16:56:03 +08:00

17 lines
412 B
Text

#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