Commit b6beb173 authored by sof's avatar sof
Browse files

[project @ 2002-03-26 23:56:44 by sof]

TEXT_BEFORE_HEAP & cygwin: same as for mingw
parent e2dec299
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: MBlock.c,v 1.26 2002/01/08 16:38:27 sof Exp $ * $Id: MBlock.c,v 1.27 2002/03/26 23:56:45 sof Exp $
* *
* (c) The GHC Team 1998-1999 * (c) The GHC Team 1998-1999
* *
...@@ -48,7 +48,7 @@ getMBlock(void) ...@@ -48,7 +48,7 @@ getMBlock(void)
return getMBlocks(1); return getMBlocks(1);
} }
#ifndef _WIN32 #if !defined(mingw32_TARGET_OS) && !defined(cygwin32_TARGET_OS)
void * void *
getMBlocks(nat n) getMBlocks(nat n)
{ {
...@@ -95,7 +95,7 @@ getMBlocks(nat n) ...@@ -95,7 +95,7 @@ getMBlocks(nat n)
return ret; return ret;
} }
#else /* _WIN32 */ #else /* defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS) */
/* /*
On Win32 platforms we make use of the two-phased virtual memory API On Win32 platforms we make use of the two-phased virtual memory API
......
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: Storage.h,v 1.43 2002/03/26 10:43:15 simonmar Exp $ * $Id: Storage.h,v 1.44 2002/03/26 23:56:44 sof Exp $
* *
* (c) The GHC Team, 1998-1999 * (c) The GHC Team, 1998-1999
* *
...@@ -412,7 +412,7 @@ void printMutableList(generation *gen); ...@@ -412,7 +412,7 @@ void printMutableList(generation *gen);
#undef TEXT_BEFORE_HEAP #undef TEXT_BEFORE_HEAP
#ifndef mingw32_TARGET_OS #if !defined(mingw32_TARGET_OS) && !defined(cygwin32_TARGET_OS)
#define TEXT_BEFORE_HEAP 1 #define TEXT_BEFORE_HEAP 1
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment