From: Geoff Voelker Date: Wed, 2 Sep 1998 05:25:38 +0000 (+0000) Subject: (allocate_heap): Define NTHEAP_PROBE_BASE by default. X-Git-Tag: emacs-20.4~1778 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c1f9d660308c972b40e19cbdfffa53694a45eee;p=emacs.git (allocate_heap): Define NTHEAP_PROBE_BASE by default. --- 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)) {