diff options
| -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. */ | |||
| 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 | |||
| 137 | static void | ||
| 138 | get_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 */ |