blob: 64c691668e30d1b93a993e2f3c5867476d0d32a0 (
plain) (
tree)
|
|
diff --git a/libs/pika/coroutines/include/pika/coroutines/detail/context_generic_context.hpp b/libs/pika/coroutines/include/pika/coroutines/detail/context_generic_context.hpp
index a26314a0..38d4e7f1 100644
--- a/libs/pika/coroutines/include/pika/coroutines/detail/context_generic_context.hpp
+++ b/libs/pika/coroutines/include/pika/coroutines/detail/context_generic_context.hpp
@@ -92,9 +92,7 @@ namespace pika::threads::coroutines {
void* allocate(std::size_t size) const
{
-#if defined(_POSIX_VERSION) && \
- !(defined(__APPLE__) && \
- (defined(arm64) || defined(__arm64) || defined(__arm64__)))
+#if defined(_POSIX_VERSION)
void* limit = posix::alloc_stack(size);
posix::watermark_stack(limit, size);
#else
|