summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem-limits.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index 67d9462c769..c18ee003659 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -43,7 +43,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef BSD4_2
#ifndef USG
#ifndef MSDOS
+#ifndef WINDOWSNT
#include <sys/vlimit.h>
+#endif /* not WINDOWSNT */
#endif /* not MSDOS */
#endif /* not USG */
#else /* if BSD4_2 */
@@ -130,6 +132,16 @@ get_lim_data ()
}
#else /* not USG */
+#ifdef WINDOWSNT
+
+static void
+get_lim_data ()
+{
+ extern unsigned long data_region_size;
+ lim_data = data_region_size;
+}
+
+#else
#if !defined (BSD4_2) && !defined (__osf__)
#ifdef MSDOS
@@ -164,5 +176,6 @@ get_lim_data ()
#endif
}
#endif /* BSD4_2 */
+#endif /* not WINDOWSNT */
#endif /* not USG */
#endif /* not NO_LIM_DATA */