summaryrefslogtreecommitdiff
path: root/src/w32heap.c
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1998-09-02 05:25:38 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1998-09-02 05:25:38 +0000
commit3c1f9d660308c972b40e19cbdfffa53694a45eee (patch)
tree566cd483aed5b0d88a320246f4b3e3473c4faadb /src/w32heap.c
parentdc6d26392c82977a98a7695a042d0fdf89ae895a (diff)
downloademacs-3c1f9d660308c972b40e19cbdfffa53694a45eee.tar.gz
(allocate_heap): Define NTHEAP_PROBE_BASE by default.
Diffstat (limited to 'src/w32heap.c')
-rw-r--r--src/w32heap.c3
1 files changed, 2 insertions, 1 deletions
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))
{