Handle macro _M_ARM64 for MSVC build
MSVC only defines _M_ARM64 to identify Windows ARM64, so detect this macro is necessary to building WebRTC with MSVC. Bug: chromium:893460 Change-Id: Idd49dfb6dcf367d5efdec705b84db55087de37c1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/154281 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29280}
This commit is contained in:
parent
ef14f072a9
commit
4c93aab0ba
@ -23,7 +23,7 @@
|
||||
#define WEBRTC_ARCH_X86_64
|
||||
#define WEBRTC_ARCH_64_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
#elif defined(__aarch64__)
|
||||
#elif defined(_M_ARM64) || defined(__aarch64__)
|
||||
#define WEBRTC_ARCH_ARM_FAMILY
|
||||
#define WEBRTC_ARCH_64_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user