summaryrefslogtreecommitdiff
path: root/src/w32heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32heap.c')
-rw-r--r--src/w32heap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/w32heap.c b/src/w32heap.c
index d96e4e2823a..3de8f245ccc 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -223,9 +223,16 @@ typedef enum _HEAP_INFORMATION_CLASS {
typedef WINBASEAPI BOOL (WINAPI * HeapSetInformation_Proc)(HANDLE,HEAP_INFORMATION_CLASS,PVOID,SIZE_T);
#endif
+#ifdef HAVE_PDUMPER
+BOOL using_dynamic_heap = FALSE;
+#endif
+
void
init_heap (void)
{
+#ifdef HAVE_PDUMPER
+ using_dynamic_heap = TRUE;
+#endif
if (using_dynamic_heap)
{
#ifndef MINGW_W64