Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: sandbox/mac/xpc.h

Issue 403193002: Fix the //sandbox/mac build when using a modern (10.7+) SDK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/mac/sandbox_mac.gypi ('k') | sandbox/mac/xpc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/mac/xpc.h
diff --git a/sandbox/mac/xpc.h b/sandbox/mac/xpc.h
index 5ea9f71990a0b44c0f680c39f51fca99e4ea757d..33d3945e387cf2116705dce227bead9393c24909 100644
--- a/sandbox/mac/xpc.h
+++ b/sandbox/mac/xpc.h
@@ -10,19 +10,20 @@
#ifndef SANDBOX_MAC_XPC_H_
#define SANDBOX_MAC_XPC_H_
+#include <AvailabilityMacros.h>
#include <mach/mach.h>
#include "sandbox/sandbox_export.h"
-// C++ library loader.
-#include "sandbox/mac/xpc_stubs.h"
-
// Declares XPC object types. This includes <xpc/xpc.h> if available.
#include "sandbox/mac/xpc_stubs_header.fragment"
#if !defined(MAC_OS_X_VERSION_10_7) || \
MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
+// C++ library loader.
+#include "sandbox/mac/xpc_stubs.h"
+
extern "C" {
// Signatures for XPC public functions that are loaded by xpc_stubs.h.
#include "sandbox/mac/xpc_stubs.sig"
« no previous file with comments | « sandbox/mac/sandbox_mac.gypi ('k') | sandbox/mac/xpc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698