comparison src/mem-limits.h @ 7010:34c91bb33ed0

(get_lim_data): Handle NO_LIM_DATA.
author Richard M. Stallman <rms@gnu.org>
date Thu, 21 Apr 1994 18:53:38 +0000
parents 261bf09dc10a
children 3f019f2a13f9
comparison
equal deleted inserted replaced
7009:9fb9491fb9a4 7010:34c91bb33ed0
96 static POINTER data_space_start; 96 static POINTER data_space_start;
97 97
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
104 get_lim_data () 112 get_lim_data ()
105 { 113 {
155 lim_data = XXrlimit.rlim_cur; /* soft limit */ 163 lim_data = XXrlimit.rlim_cur; /* soft limit */
156 #endif 164 #endif
157 } 165 }
158 #endif /* BSD4_2 */ 166 #endif /* BSD4_2 */
159 #endif /* not USG */ 167 #endif /* not USG */
168 #endif /* not NO_LIM_DATA */