aboutsummaryrefslogtreecommitdiffstats
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorRichard M. Stallman1994-11-01 08:23:44 +0000
committerRichard M. Stallman1994-11-01 08:23:44 +0000
commitdbecffaa0116f8ece35ceef8c839b69b533e8037 (patch)
tree66587272c7412503b7e518469b4392aea545eb97 /src/mem-limits.h
parent317073d51d0fa13f7d01c0de97428365e0710dba (diff)
downloademacs-dbecffaa0116f8ece35ceef8c839b69b533e8037.tar.gz
emacs-dbecffaa0116f8ece35ceef8c839b69b533e8037.zip
[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.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. */
43#ifndef BSD4_2 43#ifndef BSD4_2
44#ifndef USG 44#ifndef USG
45#ifndef MSDOS 45#ifndef MSDOS
46#ifndef WINDOWSNT
46#include <sys/vlimit.h> 47#include <sys/vlimit.h>
48#endif /* not WINDOWSNT */
47#endif /* not MSDOS */ 49#endif /* not MSDOS */
48#endif /* not USG */ 50#endif /* not USG */
49#else /* if BSD4_2 */ 51#else /* if BSD4_2 */
@@ -130,6 +132,16 @@ get_lim_data ()
130} 132}
131 133
132#else /* not USG */ 134#else /* not USG */
135#ifdef WINDOWSNT
136
137static void
138get_lim_data ()
139{
140 extern unsigned long data_region_size;
141 lim_data = data_region_size;
142}
143
144#else
133#if !defined (BSD4_2) && !defined (__osf__) 145#if !defined (BSD4_2) && !defined (__osf__)
134 146
135#ifdef MSDOS 147#ifdef MSDOS
@@ -164,5 +176,6 @@ get_lim_data ()
164#endif 176#endif
165} 177}
166#endif /* BSD4_2 */ 178#endif /* BSD4_2 */
179#endif /* not WINDOWSNT */
167#endif /* not USG */ 180#endif /* not USG */
168#endif /* not NO_LIM_DATA */ 181#endif /* not NO_LIM_DATA */