mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
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.
This commit is contained in:
parent
501ed1ab13
commit
064308ec8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue