widen the scope of is_heap_alloced() proto; for all mingw builds
/* -----------------------------------------------------------------------------
- * $Id: MBlock.h,v 1.12 2002/01/21 17:18:43 sof Exp $
+ * $Id: MBlock.h,v 1.13 2002/02/14 17:21:50 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
#define __MBLOCK_H__
extern lnat mblocks_allocated;
-#ifdef ENABLE_WIN32_DLL_SUPPORT
+#if defined(mingw32_TARGET_OS)
extern int is_heap_alloced(const void* p);
#endif
/* -----------------------------------------------------------------------------
- * $Id: Storage.h,v 1.40 2002/02/04 20:21:16 sof Exp $
+ * $Id: Storage.h,v 1.41 2002/02/14 17:21:50 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
#ifdef TEXT_BEFORE_HEAP
# define HEAP_ALLOCED(x) ((StgPtr)(x) >= (StgPtr)(HEAP_BASE))
#else
-extern int is_heap_alloced(const void* x);
+/* mingw, really */
# define HEAP_ALLOCED(x) (is_heap_alloced(x))
#endif