summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authorUwe L. Korn <uwe.korn@quantco.com>2021-01-22 17:06:43 +0100
committerUwe L. Korn <uwe.korn@quantco.com>2021-01-22 17:06:43 +0100
commit88330cfc9fdd4ec5aaa7988efdd209a593bb0026 (patch)
treee2b1abb0e0f58ce33ecd12f423d903c8b92e083a /include/mimalloc-internal.h
parentab3dac04c2478a484b0e063b04fd0f19cc0f368d (diff)
Use __APPLE__ instead of __MACH__
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index df700d3..dca21bb 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -707,7 +707,7 @@ static inline void* mi_tls_slot(size_t slot) mi_attr_noexcept {
res = tcb[slot];
#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));