Mercurial > hg > xemacs-beta
comparison src/gmalloc.c @ 4759:aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
<870180fe0911101613m6b8efa4bpf083fd9013950807@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 18 Nov 2009 08:49:14 -0700 |
parents | ed6535aefb7e |
children | 2aa9cd456ae7 |
comparison
equal
deleted
inserted
replaced
4758:75975fd0b7fc | 4759:aa5ed11f473b |
---|---|
1217 | 1217 |
1218 /* #ifndef __GNU_LIBRARY__ */ | 1218 /* #ifndef __GNU_LIBRARY__ */ |
1219 #define __sbrk sbrk | 1219 #define __sbrk sbrk |
1220 /* #endif */ | 1220 /* #endif */ |
1221 | 1221 |
1222 #ifdef GMALLOC_NEEDS_SBRK_DECL | |
1223 /* some versions of OSF1 need this */ | |
1224 extern __ptr_t __sbrk __P ((ssize_t increment)); | |
1225 #else | |
1226 #ifdef __GNU_LIBRARY__ | 1222 #ifdef __GNU_LIBRARY__ |
1227 /* It is best not to declare this and cast its result on foreign operating | 1223 /* It is best not to declare this and cast its result on foreign operating |
1228 systems with potentially hostile include files. */ | 1224 systems with potentially hostile include files. */ |
1229 #if !(defined(linux) && defined(sparc)) | 1225 #if !(defined(linux) && defined(sparc)) |
1230 extern __ptr_t __sbrk __P ((int increment)); | 1226 extern __ptr_t __sbrk __P ((int increment)); |
1231 #endif | |
1232 #endif | 1227 #endif |
1233 #endif | 1228 #endif |
1234 | 1229 |
1235 #ifndef NULL | 1230 #ifndef NULL |
1236 #define NULL 0 | 1231 #define NULL 0 |