diff options
author | Geoff Voelker <voelker@cs.washington.edu> | 1998-09-02 05:25:38 +0000 |
---|---|---|
committer | Geoff Voelker <voelker@cs.washington.edu> | 1998-09-02 05:25:38 +0000 |
commit | 3825b35e40bd03ae7712ea4a38c0d39439fa69e8 (patch) | |
tree | fb806ca1ddbac57cd1b7d224b5fe0d3b8c025e37 /src/w32heap.c | |
parent | 4c5da49c404c201faffa36b3902b4886a07bc48a (diff) | |
download | emacs-3825b35e40bd03ae7712ea4a38c0d39439fa69e8.tar.gz |
(allocate_heap): Define NTHEAP_PROBE_BASE by default.
Diffstat (limited to 'src/w32heap.c')
-rw-r--r-- | src/w32heap.c | 3 |
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)) { |