changeset 559:5d6ef6e6805d

Make rt_stackBottom return the right fixed value for darwin.
author Christian Kamm <kamm incasoftware de>
date Fri, 29 Aug 2008 15:01:48 +0200
parents 02fb65cddc3e
children fbc454d4ce80 d4e95db0e62b
files runtime/internal/memory.d
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/internal/memory.d	Fri Aug 29 14:48:40 2008 +0200
+++ b/runtime/internal/memory.d	Fri Aug 29 15:01:48 2008 +0200
@@ -87,7 +87,8 @@
     }
     else version( darwin )
     {
-        static assert( false, "darwin not supported" );
+        // darwin has a fixed stack bottom
+        return cast(void*) 0xc0000000;
     }
     else
     {