diff options
| author | Geoff Voelker | 1998-09-02 05:25:38 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-09-02 05:25:38 +0000 |
| commit | 3c1f9d660308c972b40e19cbdfffa53694a45eee (patch) | |
| tree | 566cd483aed5b0d88a320246f4b3e3473c4faadb | |
| parent | dc6d26392c82977a98a7695a042d0fdf89ae895a (diff) | |
| download | emacs-3c1f9d660308c972b40e19cbdfffa53694a45eee.tar.gz emacs-3c1f9d660308c972b40e19cbdfffa53694a45eee.zip | |
(allocate_heap): Define NTHEAP_PROBE_BASE by default.
| -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) | |||
| 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 | { |