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

Unified Diff: util/mac/mach_o_image_reader_test.cc

Issue 561933004: 10.6 SDK compatibility (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 3 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 | « third_party/apple_cctools/cctools/libmacho/getsecbyname.c ('k') | util/test/mac/dyld.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mac/mach_o_image_reader_test.cc
diff --git a/util/mac/mach_o_image_reader_test.cc b/util/mac/mach_o_image_reader_test.cc
index 2a1e15aa94d8fe803b568216fe331a20f8321a8c..b0ea514361fdce1869dba0ad9beba14c2d480545 100644
--- a/util/mac/mach_o_image_reader_test.cc
+++ b/util/mac/mach_o_image_reader_test.cc
@@ -14,6 +14,7 @@
#include "util/mac/mach_o_image_reader.h"
+#include <AvailabilityMacros.h>
#include <dlfcn.h>
#include <mach-o/dyld.h>
#include <mach-o/dyld_images.h>
@@ -592,6 +593,7 @@ TEST(MachOImageReader, Self_DyldImages) {
}
}
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
// If dyld is new enough to record UUIDs, check the UUID of any module that
// it says has one. Note that dyld doesn’t record UUIDs of anything that
// loaded out of the shared cache, but it should at least have a UUID for the
@@ -626,6 +628,7 @@ TEST(MachOImageReader, Self_DyldImages) {
EXPECT_EQ(expected_uuid, actual_uuid);
}
}
+#endif
}
} // namespace
« no previous file with comments | « third_party/apple_cctools/cctools/libmacho/getsecbyname.c ('k') | util/test/mac/dyld.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698