Add one internal Apple function

This commit is contained in:
Lubos Dolezel 2016-02-25 08:30:44 +01:00
parent c70dc7d15a
commit 2d27e0d52a
2 changed files with 23 additions and 0 deletions

16
xpc/private.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef XPC_PRIVATE_H_
#define XPC_PRIVATE_H_
#include <xpc/xpc.h>
#ifdef __cplusplus
extern "C" {
#endif
int _xpc_runtime_is_app_sandboxed();
#ifdef __cplusplus
}
#endif
#endif

7
xpc_private.c Normal file
View File

@ -0,0 +1,7 @@
#include <xpc/private.h>
int _xpc_runtime_is_app_sandboxed()
{
return 0;
}