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

Unified Diff: snapshot/mac/process_reader_test.cc

Issue 1153763007: Suppress a partial-availability warning in process_reader_test.cc. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/mac/process_reader_test.cc
diff --git a/snapshot/mac/process_reader_test.cc b/snapshot/mac/process_reader_test.cc
index 25160d104cb3e0be690f6c8a3795720b0585f931..0c42e64733bdd4615b1513a5644cbf068b34999a 100644
--- a/snapshot/mac/process_reader_test.cc
+++ b/snapshot/mac/process_reader_test.cc
@@ -43,6 +43,15 @@
#include "util/stdlib/pointer_container.h"
#include "util/synchronization/semaphore.h"
+#if !defined(MAC_OS_X_VERSION_10_10) || \
+ MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10
+extern "C" {
+// Redeclare a typedef whose availability (OSX 10.10) is newer than the
+// deployment target.
+typedef struct _cl_device_id* cl_device_id;
+} // extern "C"
+#endif
+
namespace crashpad {
namespace test {
namespace {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698