From 905001b5bf12eb6aa2923eac32ebebf01235a684 Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Mon, 18 Jan 1999 10:54:15 +0000 Subject: [PATCH] [project @ 1999-01-18 10:54:15 by simonm] Don't bomb out with "Dont know where to get memory from on this architecture" on Win32. --- ghc/rts/MBlock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc/rts/MBlock.c b/ghc/rts/MBlock.c index 249493a94eb2..ddf8fd1dbb0c 100644 --- a/ghc/rts/MBlock.c +++ b/ghc/rts/MBlock.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: MBlock.c,v 1.5 1999/01/18 09:20:08 sof Exp $ + * $Id: MBlock.c,v 1.6 1999/01/18 10:54:15 simonm Exp $ * * MegaBlock Allocator Interface. This file contains all the dirty * architecture-dependent hackery required to get a chunk of aligned @@ -52,6 +52,9 @@ /* guess */ #define ASK_FOR_MEM_AT 0x50000000 +#elif _WIN32 +/* doesn't matter, we use a reserve/commit algorithm */ + #else #error Dont know where to get memory from on this architecture /* ToDo: memory locations on other architectures */ -- GitLab