Use APPLE instead of MACH

This commit is contained in:
Uwe L. Korn 2021-01-28 11:38:38 +01:00
parent 88330cfc9f
commit a753084f74

View file

@ -734,7 +734,7 @@ static inline void mi_tls_slot_set(size_t slot, void* value) mi_attr_noexcept {
tcb[slot] = value;
#elif defined(__aarch64__)
void** tcb; UNUSED(ofs);
#if defined(__MACH__)
#if defined(__APPLE__)
__asm__ volatile ("mrs %0, tpidrro_el0" : "=r" (tcb));
#else
__asm__ volatile ("mrs %0, tpidr_el0" : "=r" (tcb));