aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mem-limits.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index e249e92e540..3e7c66da3be 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -66,12 +66,9 @@ static POINTER data_space_start;
66/* Number of bytes of writable memory we can expect to be able to get */ 66/* Number of bytes of writable memory we can expect to be able to get */
67static unsigned int lim_data; 67static unsigned int lim_data;
68 68
69#ifndef emacs
70#define start_of_data (void *) &_end
71#endif
72
73#ifdef USG 69#ifdef USG
74 70
71void
75get_lim_data () 72get_lim_data ()
76{ 73{
77 extern long ulimit (); 74 extern long ulimit ();
@@ -88,6 +85,7 @@ get_lim_data ()
88#else /* not USG */ 85#else /* not USG */
89#ifndef BSD4_2 86#ifndef BSD4_2
90 87
88void
91get_lim_data () 89get_lim_data ()
92{ 90{
93 lim_data = vlimit (LIM_DATA, -1); 91 lim_data = vlimit (LIM_DATA, -1);
@@ -95,6 +93,7 @@ get_lim_data ()
95 93
96#else /* BSD4_2 */ 94#else /* BSD4_2 */
97 95
96void
98get_lim_data () 97get_lim_data ()
99{ 98{
100 struct rlimit XXrlimit; 99 struct rlimit XXrlimit;