From 01b6538f6fd510b1077af62c4c46e312ffcb03ca Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 29 Aug 2008 15:01:48 +0200 Subject: [PATCH] Make rt_stackBottom return the right fixed value for darwin. --- runtime/internal/memory.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/internal/memory.d b/runtime/internal/memory.d index bc730cdf..3afc362c 100644 --- a/runtime/internal/memory.d +++ b/runtime/internal/memory.d @@ -87,7 +87,8 @@ extern (C) void* rt_stackBottom() } else version( darwin ) { - static assert( false, "darwin not supported" ); + // darwin has a fixed stack bottom + return cast(void*) 0xc0000000; } else {