]> git.eshelyaron.com Git - emacs.git/commitdiff
[WINDOWSNT]: Don't include vlimit.h.
authorRichard M. Stallman <rms@gnu.org>
Tue, 1 Nov 1994 08:23:44 +0000 (08:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 1 Nov 1994 08:23:44 +0000 (08:23 +0000)
(get_lim_data): Alternate definition for WINDOWSNT.

src/mem-limits.h

index 67d9462c769d526b3f691f6e606669a038845603..c18ee003659d3b3df0483f88cabd55afa13e2d59 100644 (file)
@@ -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 */