changeset 9791:068c89ed6765

[WINDOWSNT]: Don't include vlimit.h. (get_lim_data): Alternate definition for WINDOWSNT.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Nov 1994 08:23:44 +0000
parents 637b4664f7a5
children b8fc349121d1
files src/mem-limits.h
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mem-limits.h	Tue Nov 01 08:22:31 1994 +0000
+++ b/src/mem-limits.h	Tue Nov 01 08:23:44 1994 +0000
@@ -43,7 +43,9 @@
 #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 @@
 }
 
 #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 @@
 #endif
 }
 #endif /* BSD4_2 */
+#endif /* not WINDOWSNT */
 #endif /* not USG */
 #endif /* not NO_LIM_DATA */