diff options
author | Uwe L. Korn <uwe.korn@quantco.com> | 2021-01-28 11:38:38 +0100 |
---|---|---|
committer | Uwe L. Korn <uwe.korn@quantco.com> | 2021-01-28 11:38:38 +0100 |
commit | a753084f748d59dcd18fdc4f10c3e36ccfc107f5 (patch) | |
tree | 16e6cc6116adaaf0bd128ab3e1e42e849a739298 /include/mimalloc-internal.h | |
parent | 88330cfc9fdd4ec5aaa7988efdd209a593bb0026 (diff) |
Use APPLE instead of MACH
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r-- | include/mimalloc-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h index dca21bb..e1190c7 100644 --- a/include/mimalloc-internal.h +++ b/include/mimalloc-internal.h @@ -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)); |