Home | History | Annotate | Download | only in mac
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
      6 #define SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
      7 
      8 // Declare or include public types.
      9 #if !defined(MAC_OS_X_VERSION_10_7) || \
     10     MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
     11 
     12 extern "C" {
     13 typedef void* xpc_object_t;
     14 }  // extern "C"
     15 
     16 #else
     17 
     18 #include <xpc/xpc.h>
     19 
     20 #endif
     21 
     22 // Declare private types.
     23 extern "C" {
     24 typedef struct _xpc_pipe_s* xpc_pipe_t;
     25 }  // extern "C"
     26 
     27 #endif  // SANDBOX_MAC_XPC_STUBS_HEADER_FRAGMENT_
     28