diff options
author | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2014-04-01 18:20:36 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2014-04-01 18:20:36 +0000 |
commit | 0decfdb042332845ca18b6776615e0685d7ba391 (patch) | |
tree | 77c0219c16b812915f37f2bed39d24b6b4ef09f6 /src/client/mac/handler/minidump_generator.h | |
parent | Ignore warning 4702 to avoid unreachable code error on (diff) | |
download | breakpad-0decfdb042332845ca18b6776615e0685d7ba391.tar.xz |
Make ARM64 detection consistent in chromium.
This is to uniform ARM64 detection code in chromium.
Use only __aarch64__ and don't look for __arm64__ at all.
Patch by Primiano Tucci <primiano@chromium.org>
BUG=chromium:354405, chromium:358092
Review URL: https://breakpad.appspot.com/1304002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1293 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/minidump_generator.h')
-rw-r--r-- | src/client/mac/handler/minidump_generator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/mac/handler/minidump_generator.h b/src/client/mac/handler/minidump_generator.h index 3f7f8de0..4e4b4a68 100644 --- a/src/client/mac/handler/minidump_generator.h +++ b/src/client/mac/handler/minidump_generator.h @@ -51,7 +51,7 @@ #endif #if defined(__arm__) #define HAS_ARM_SUPPORT -#elif defined(__arm64__) +#elif defined(__aarch64__) #define HAS_ARM64_SUPPORT #elif defined(__i386__) || defined(__x86_64__) #define HAS_X86_SUPPORT @@ -207,7 +207,7 @@ class MinidumpGenerator { // CPU type of the task being dumped. cpu_type_t cpu_type_; - + // System information static char build_string_[16]; static int os_major_version_; |