diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-11-01 08:23:44 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-11-01 08:23:44 +0000 |
commit | dbecffaa0116f8ece35ceef8c839b69b533e8037 (patch) | |
tree | 66587272c7412503b7e518469b4392aea545eb97 /src/mem-limits.h | |
parent | 317073d51d0fa13f7d01c0de97428365e0710dba (diff) | |
download | emacs-dbecffaa0116f8ece35ceef8c839b69b533e8037.tar.gz |
[WINDOWSNT]: Don't include vlimit.h.
(get_lim_data): Alternate definition for WINDOWSNT.
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r-- | src/mem-limits.h | 13 |
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 */ |