Skip to content
Snippets Groups Projects
Commit c5610aa6 authored by sof's avatar sof
Browse files

[project @ 1999-03-03 19:27:23 by sof]

Define HEAP_ALLOCED macro in non Win32 DLL land too
parent d60b2899
No related branches found
No related tags found
No related merge requests found
/* ----------------------------------------------------------------------------
* $Id: ClosureMacros.h,v 1.6 1999/03/03 18:16:15 sof Exp $
* $Id: ClosureMacros.h,v 1.7 1999/03/03 19:27:23 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -107,7 +107,9 @@ extern StgFun DATA_SECTION_END_MARKER_DECL;
#ifdef HAVE_WIN32_DLL_SUPPORT
extern int is_heap_alloced(const void* x);
#define HEAP_ALLOCED(x) (is_heap_alloced(x))
# define HEAP_ALLOCED(x) (is_heap_alloced(x))
#else
# define HEAP_ALLOCED(x) IS_USER_PTR(x)
#endif
/* When working with Win32 DLLs, static closures are identified by
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment