Home | History | Annotate | Download | only in launcherXPCService
      1 #include <AvailabilityMacros.h>
      2 
      3 #if !defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
      4 #define BUILDING_ON_SNOW_LEOPARD 1
      5 #endif
      6 
      7 #if !BUILDING_ON_SNOW_LEOPARD
      8 #define __XPC_PRIVATE_H__
      9 #include <xpc/xpc.h>
     10 
     11 // Returns 0 if successful. This is launching as self. No need for further authorization.
     12 int _validate_authorization(xpc_object_t message)
     13 {
     14     return 0;
     15 }
     16 
     17 #endif
     18