diff options
| author | Richard M. Stallman | 1994-04-21 18:53:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-21 18:53:38 +0000 |
| commit | 19b8fb9d760b207d7fbcca78747b136cc7646195 (patch) | |
| tree | a5e54bf799ded0f13adc7fb20eb24a4e7c4722d5 /src/mem-limits.h | |
| parent | 5afe3a2b9cd156f64fbc59b4958263b59fcf4699 (diff) | |
| download | emacs-19b8fb9d760b207d7fbcca78747b136cc7646195.tar.gz emacs-19b8fb9d760b207d7fbcca78747b136cc7646195.zip | |
(get_lim_data): Handle NO_LIM_DATA.
Diffstat (limited to 'src/mem-limits.h')
| -rw-r--r-- | src/mem-limits.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h index 65384ba3c94..08743d533fc 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h | |||
| @@ -98,6 +98,14 @@ static POINTER data_space_start; | |||
| 98 | /* Number of bytes of writable memory we can expect to be able to get */ | 98 | /* Number of bytes of writable memory we can expect to be able to get */ |
| 99 | static unsigned int lim_data; | 99 | static unsigned int lim_data; |
| 100 | 100 | ||
| 101 | #ifdef NO_LIM_DATA | ||
| 102 | static void | ||
| 103 | get_lim_data () | ||
| 104 | { | ||
| 105 | lim_data = -1; | ||
| 106 | } | ||
| 107 | #else /* not NO_LIM_DATA */ | ||
| 108 | |||
| 101 | #ifdef USG | 109 | #ifdef USG |
| 102 | 110 | ||
| 103 | static void | 111 | static void |
| @@ -157,3 +165,4 @@ get_lim_data () | |||
| 157 | } | 165 | } |
| 158 | #endif /* BSD4_2 */ | 166 | #endif /* BSD4_2 */ |
| 159 | #endif /* not USG */ | 167 | #endif /* not USG */ |
| 168 | #endif /* not NO_LIM_DATA */ | ||