aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1998-09-02 05:25:38 +0000
committerGeoff Voelker1998-09-02 05:25:38 +0000
commit3c1f9d660308c972b40e19cbdfffa53694a45eee (patch)
tree566cd483aed5b0d88a320246f4b3e3473c4faadb /src
parentdc6d26392c82977a98a7695a042d0fdf89ae895a (diff)
downloademacs-3c1f9d660308c972b40e19cbdfffa53694a45eee.tar.gz
emacs-3c1f9d660308c972b40e19cbdfffa53694a45eee.zip
(allocate_heap): Define NTHEAP_PROBE_BASE by default.
Diffstat (limited to 'src')
-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)
157 unsigned long end = 1 << VALBITS; /* 256MB */ 157 unsigned long end = 1 << VALBITS; /* 256MB */
158 void *ptr = NULL; 158 void *ptr = NULL;
159 159
160#if NTHEAP_PROBE_BASE /* This is never normally defined */ 160#define NTHEAP_PROBE_BASE 1
161#if NTHEAP_PROBE_BASE
161 /* Try various addresses looking for one the kernel will let us have. */ 162 /* Try various addresses looking for one the kernel will let us have. */
162 while (!ptr && (base < end)) 163 while (!ptr && (base < end))
163 { 164 {