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/dynamic_images.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/dynamic_images.h')
-rw-r--r-- | src/client/mac/handler/dynamic_images.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mac/handler/dynamic_images.h b/src/client/mac/handler/dynamic_images.h index 6f4c3377..65147900 100644 --- a/src/client/mac/handler/dynamic_images.h +++ b/src/client/mac/handler/dynamic_images.h @@ -285,7 +285,7 @@ class DynamicImages { return CPU_TYPE_POWERPC64; #elif defined(__arm__) return CPU_TYPE_ARM; -#elif defined(__arm64__) +#elif defined(__aarch64__) return CPU_TYPE_ARM64; #else #error "GetNativeCPUType not implemented for this architecture" |