From: Richard M. Stallman Date: Tue, 1 Nov 1994 08:23:44 +0000 (+0000) Subject: [WINDOWSNT]: Don't include vlimit.h. X-Git-Tag: emacs-19.34~6064 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dbecffaa0116f8ece35ceef8c839b69b533e8037;p=emacs.git [WINDOWSNT]: Don't include vlimit.h. (get_lim_data): Alternate definition for WINDOWSNT. --- 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 +#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 */