Mercurial > hg > xemacs-beta
comparison src/mem-limits.h @ 231:557eaa0339bf r20-5b14
Import from CVS: tag r20-5b14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:13:48 +0200 |
parents | 15872534500d |
children | f220cc83d72e |
comparison
equal
deleted
inserted
replaced
230:39ed1d2bdd9d | 231:557eaa0339bf |
---|---|
60 | 60 |
61 #ifndef BSD4_2 | 61 #ifndef BSD4_2 |
62 #ifndef USG | 62 #ifndef USG |
63 #ifndef MSDOS | 63 #ifndef MSDOS |
64 #ifndef WINDOWSNT | 64 #ifndef WINDOWSNT |
65 #ifndef __CYGWIN32__ | |
65 #include <sys/vlimit.h> | 66 #include <sys/vlimit.h> |
67 #endif /* not __CYGWIN32__ */ | |
66 #endif /* not WINDOWSNT */ | 68 #endif /* not WINDOWSNT */ |
67 #endif /* not MSDOS */ | 69 #endif /* not MSDOS */ |
68 #endif /* not USG */ | 70 #endif /* not USG */ |
69 #else /* if BSD4_2 */ | 71 #else /* if BSD4_2 */ |
70 #include <sys/time.h> | 72 #include <sys/time.h> |
79 typedef void *POINTER; | 81 typedef void *POINTER; |
80 #else | 82 #else |
81 typedef char *POINTER; | 83 typedef char *POINTER; |
82 #endif | 84 #endif |
83 | 85 |
86 #ifndef __CYGWIN32__ | |
84 typedef unsigned long SIZE; | 87 typedef unsigned long SIZE; |
88 #endif | |
85 | 89 |
86 #ifdef NULL | 90 #ifdef NULL |
87 #undef NULL | 91 #undef NULL |
88 #endif | 92 #endif |
89 #define NULL ((POINTER) 0) | 93 #define NULL ((POINTER) 0) |
146 | 150 |
147 lim_data -= (long) data_space_start; | 151 lim_data -= (long) data_space_start; |
148 } | 152 } |
149 | 153 |
150 #else /* not USG */ | 154 #else /* not USG */ |
151 #ifdef WINDOWSNT | 155 #if defined( WINDOWSNT ) || defined (__CYGWIN32__) |
152 | 156 |
153 static void | 157 static void |
154 get_lim_data (void) | 158 get_lim_data (void) |
155 { | 159 { |
156 extern unsigned long data_region_size; | 160 extern unsigned long data_region_size; |