| | 83 | |
|---|
| | 84 | /* Define CANNOT_DUMP on machines where unexec does not work. |
|---|
| | 85 | Then the function dump-emacs will not be defined |
|---|
| | 86 | and temacs will do (load "loadup") automatically unless told otherwise. */ |
|---|
| | 87 | |
|---|
| | 88 | /* #define CANNOT_DUMP */ |
|---|
| | 89 | |
|---|
| | 90 | /* Define VIRT_ADDR_VARIES if the virtual addresses of |
|---|
| | 91 | pure and impure space as loaded can vary, and even their |
|---|
| | 92 | relative order cannot be relied on. |
|---|
| | 93 | |
|---|
| | 94 | Otherwise Emacs assumes that text space precedes data space, |
|---|
| | 95 | numerically. */ |
|---|
| | 96 | |
|---|
| | 97 | /* #define VIRT_ADDR_VARIES */ |
|---|
| | 120 | |
|---|
| | 121 | /* Define NO_REMAP if memory segmentation makes it not work well |
|---|
| | 122 | to change the boundary between the text section and data section |
|---|
| | 123 | when Emacs is dumped. If you define this, the preloaded Lisp |
|---|
| | 124 | code will not be sharable; but that's better than failing completely. */ |
|---|
| | 125 | |
|---|
| | 126 | #define NO_REMAP |
|---|
| | 127 | |
|---|
| | 128 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) |
|---|
| | 129 | * do not support asynchronous I/O (using SIGIO) on sockets, |
|---|
| | 130 | * even though it works fine on tty's. If you have one of |
|---|
| | 131 | * these systems, define the following, and then use it in |
|---|
| | 132 | * config.h (or elsewhere) to decide when (not) to use SIGIO. |
|---|
| | 133 | * |
|---|
| | 134 | * You'd think this would go in an operating-system description file, |
|---|
| | 135 | * but since it only occurs on some, but not all, BSD systems, the |
|---|
| | 136 | * reasonable place to select for it is in the machine description |
|---|
| | 137 | * file. |
|---|
| | 138 | */ |
|---|
| | 139 | |
|---|
| | 140 | /* #define NO_SOCK_SIGIO */ |
|---|
| | 141 | |
|---|
| 203 | | #endif |
|---|
| | 244 | #else |
|---|
| | 245 | #include <stdlib.h> |
|---|
| | 246 | #endif |
|---|
| | 247 | |
|---|
| | 248 | /* Hack alert! For reasons unknown to mankind the string.h file insists |
|---|
| | 249 | on defining bcopy etc. as taking char pointers as arguments. With |
|---|
| | 250 | Emacs this produces an endless amount of warning which are harmless, |
|---|
| | 251 | but tends to flood the real errors. This hack works around this problem |
|---|
| | 252 | by not prototyping. */ |
|---|
| | 253 | #define bcopy string_h_bcopy |
|---|
| | 254 | #define bzero string_h_bzero |
|---|
| | 255 | #define bcmp string_h_bcmp |
|---|
| | 256 | #include <string.h> |
|---|
| | 257 | #undef bcopy |
|---|
| | 258 | #undef bzero |
|---|
| | 259 | #undef bcmp |
|---|
| | 260 | |
|---|
| | 261 | /* We need to prototype these for the lib-src programs even if we don't |
|---|
| | 262 | use the system malloc for the Emacs proper. */ |
|---|
| | 263 | #ifdef _MALLOC_INTERNAL |
|---|
| | 264 | /* These declarations are designed to match the ones in gmalloc.c. */ |
|---|
| | 265 | #if defined (__STDC__) && __STDC__ |
|---|
| | 266 | extern void *malloc (), *realloc (), *calloc (); |
|---|
| | 267 | #else |
|---|
| | 268 | extern char *malloc (), *realloc (), *calloc (); |
|---|
| | 269 | #endif |
|---|
| | 270 | #else /* not _MALLOC_INTERNAL */ |
|---|
| | 271 | extern void *malloc (), *realloc (), *calloc (); |
|---|
| | 272 | #endif /* not _MALLOC_INTERNAL */ |
|---|
| | 273 | |
|---|
| | 274 | |
|---|
| | 275 | extern long *xmalloc (), *xrealloc (); |
|---|
| | 276 | |
|---|
| | 277 | #ifdef REL_ALLOC |
|---|
| | 278 | #ifndef _MALLOC_INTERNAL |
|---|
| | 279 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it |
|---|
| | 280 | is allowed to prototype these as "void *" so we don't prototype in |
|---|
| | 281 | that case. You're right: it stinks! */ |
|---|
| | 282 | extern char *r_alloc (), *r_re_alloc (); |
|---|
| | 283 | extern void r_alloc_free (); |
|---|
| | 284 | #endif /* not _MALLOC_INTERNAL */ |
|---|
| | 285 | #endif /* REL_ALLOC */ |
|---|