summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
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 */