diff options
author | Brian Smith <brian@dbsoft.org> | 2022-08-29 18:30:39 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2022-08-29 18:30:39 -0500 |
commit | 5f1ef110ffbde5923503a706a81456d869ede81b (patch) | |
tree | 1d56e57954184d951bc6832b141141672b980b43 /media | |
parent | 6d127920f84a63a55d299e014b8c0796ddb6babc (diff) | |
download | uxp-5f1ef110ffbde5923503a706a81456d869ede81b.tar.gz |
No Issue - Fix building with WebRTC enabled on non-Intel Macs.
int3 is Intel only, so don't use it on ARM, use __builtin_trap() instead.
Diffstat (limited to 'media')
-rw-r--r-- | media/webrtc/trunk/webrtc/system_wrappers/source/tick_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/webrtc/trunk/webrtc/system_wrappers/source/tick_util.cc b/media/webrtc/trunk/webrtc/system_wrappers/source/tick_util.cc index 4b5f71aa37..cfd26497ae 100644 --- a/media/webrtc/trunk/webrtc/system_wrappers/source/tick_util.cc +++ b/media/webrtc/trunk/webrtc/system_wrappers/source/tick_util.cc @@ -77,7 +77,7 @@ int64_t TickTime::QueryOsForTicks() { if (retval != KERN_SUCCESS) { // TODO(wu): Implement CHECK similar to chrome for all the platforms. // Then replace this with a CHECK(retval == KERN_SUCCESS); -#ifndef WEBRTC_IOS +#if !defined(WEBRTC_IOS) && !defined(__aarch64__) asm("int3"); #else __builtin_trap(); |