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
commit4a3408f775c1c34fc19de06ab54f121fc5f36970 (patch)
treeea64a1deca6547720dcdc22c03746ffadf725716 /src/mem-limits.h
parentb9c840cbc5de50a28ecad6b29b60656d035e116c (diff)
downloademacs-4a3408f775c1c34fc19de06ab54f121fc5f36970.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 */