summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-21 18:53:38 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-21 18:53:38 +0000
commit19b8fb9d760b207d7fbcca78747b136cc7646195 (patch)
treea5e54bf799ded0f13adc7fb20eb24a4e7c4722d5 /src/mem-limits.h
parent5afe3a2b9cd156f64fbc59b4958263b59fcf4699 (diff)
downloademacs-19b8fb9d760b207d7fbcca78747b136cc7646195.tar.gz
(get_lim_data): Handle NO_LIM_DATA.
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r--src/mem-limits.h9
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;
/* Number of bytes of writable memory we can expect to be able to get */
static unsigned int lim_data;
+#ifdef NO_LIM_DATA
+static void
+get_lim_data ()
+{
+ lim_data = -1;
+}
+#else /* not NO_LIM_DATA */
+
#ifdef USG
static void
@@ -157,3 +165,4 @@ get_lim_data ()
}
#endif /* BSD4_2 */
#endif /* not USG */
+#endif /* not NO_LIM_DATA */