From 3c1f9d660308c972b40e19cbdfffa53694a45eee Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Wed, 2 Sep 1998 05:25:38 +0000 Subject: [PATCH] (allocate_heap): Define NTHEAP_PROBE_BASE by default. --- src/w32heap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/w32heap.c b/src/w32heap.c index 656f94744d3..8051ce10cb5 100644 --- a/src/w32heap.c +++ b/src/w32heap.c @@ -157,7 +157,8 @@ allocate_heap (void) unsigned long end = 1 << VALBITS; /* 256MB */ void *ptr = NULL; -#if NTHEAP_PROBE_BASE /* This is never normally defined */ +#define NTHEAP_PROBE_BASE 1 +#if NTHEAP_PROBE_BASE /* Try various addresses looking for one the kernel will let us have. */ while (!ptr && (base < end)) { -- 2.39.2