summaryrefslogtreecommitdiff
path: root/typedefs.h
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-01 01:19:08 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-01 01:19:08 +0000
commit7830689de5893b02152ab479693c5ce5b1de338f (patch)
treea872908aec02ea1c9036c1f906054acdf70945be /typedefs.h
parent172f42aa293ecac25139c766c9a85954e9b54d80 (diff)
downloadwebrtc-7830689de5893b02152ab479693c5ce5b1de338f.tar.gz
Fix ARM64 detection.
Use only __aarch64__ and don't look for __arm64__ at all. It turns out that clang defines both and GCC only the former. Hence, looking only for __aarch64__ should be safe. BUG=chromium:354405,chromium:358092 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/10939004 Patch from Primiano Tucci <primiano@chromium.org>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5821 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'typedefs.h')
-rw-r--r--typedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/typedefs.h b/typedefs.h
index 09e30d21..d8977ff4 100644
--- a/typedefs.h
+++ b/typedefs.h
@@ -23,7 +23,7 @@
#define WEBRTC_ARCH_X86_64
#define WEBRTC_ARCH_64_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
-#elif defined(__arm64__) || defined(__aarch64__)
+#elif defined(__aarch64__)
#define WEBRTC_ARCH_64_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(_M_IX86) || defined(__i386__)