diff options
| author | Karl Heuer | 1995-05-29 06:35:55 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-29 06:35:55 +0000 |
| commit | 352c01a55d454f3e3199dafd52cf3877933ead8c (patch) | |
| tree | 794fab42cb983ad52ef2d5234c7d06b9b852b284 /src/m | |
| parent | a0f480887354a8386c09a9a2960c7674df0bba3f (diff) | |
| download | emacs-352c01a55d454f3e3199dafd52cf3877933ead8c.tar.gz emacs-352c01a55d454f3e3199dafd52cf3877933ead8c.zip | |
(LD_SWITCH_MACHINE) [!__GNUC__]: Don't define.
(r_alloc, r_re_alloc, r_alloc_free) [REL_ALLOC,
!_MALLOC_INTERNAL, !NOT_C_CODE]: Prototype.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 47b0cdcc1bf..2f4d5101c39 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -111,7 +111,15 @@ NOTE-END | |||
| 111 | #define HAVE_ALLOCA | 111 | #define HAVE_ALLOCA |
| 112 | 112 | ||
| 113 | /* GNU malloc and the relocating allocator do not work together | 113 | /* GNU malloc and the relocating allocator do not work together |
| 114 | with X. */ | 114 | with X. [Who wrote that?] */ |
| 115 | |||
| 116 | /* May 1995: reportedly [Rainer Schoepf <schoepf@uni-mainz.de>] both the | ||
| 117 | system and the gnu malloc system work with "alpha-dec-osf3.0" and | ||
| 118 | "alpha-dec-osf3.2". */ | ||
| 119 | |||
| 120 | /* May 1995: it seems to me [Morten Welinder <terra@diku.dk>] that both | ||
| 121 | mallocs work with "alpha-dec-osf2.0", but I daren't break anything | ||
| 122 | right now. Feel free to play if you want. */ | ||
| 115 | 123 | ||
| 116 | #define SYSTEM_MALLOC | 124 | #define SYSTEM_MALLOC |
| 117 | 125 | ||
| @@ -154,9 +162,12 @@ NOTE-END | |||
| 154 | 162 | ||
| 155 | #define ORDINARY_LINK | 163 | #define ORDINARY_LINK |
| 156 | 164 | ||
| 165 | #ifndef __GNUC__ | ||
| 166 | /* This apparently is for the system ld as opposed to Gnu ld. */ | ||
| 157 | #ifdef OSF1 | 167 | #ifdef OSF1 |
| 158 | #define LD_SWITCH_MACHINE -non_shared | 168 | #define LD_SWITCH_MACHINE -non_shared |
| 159 | #endif | 169 | #endif |
| 170 | #endif | ||
| 160 | 171 | ||
| 161 | #define LIBS_DEBUG | 172 | #define LIBS_DEBUG |
| 162 | #define START_FILES pre-crt0.o | 173 | #define START_FILES pre-crt0.o |
| @@ -210,7 +221,21 @@ NOTE-END | |||
| 210 | #undef bzero | 221 | #undef bzero |
| 211 | #undef bcmp | 222 | #undef bcmp |
| 212 | 223 | ||
| 224 | /* We need to prototype these for the lib-src programs even if we don't | ||
| 225 | use the system malloc for the Emacs proper. */ | ||
| 213 | extern void *malloc (), *realloc (); | 226 | extern void *malloc (), *realloc (); |
| 227 | |||
| 214 | extern long *xmalloc (), *xrealloc (); | 228 | extern long *xmalloc (), *xrealloc (); |
| 215 | #endif | 229 | |
| 216 | #endif | 230 | #ifdef REL_ALLOC |
| 231 | #ifndef _MALLOC_INTERNAL | ||
| 232 | /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it | ||
| 233 | is allowed to prototype these as "void *" so we don't prototype in | ||
| 234 | that case. You're right: it stinks! */ | ||
| 235 | extern char *r_alloc (), *r_re_alloc (); | ||
| 236 | extern void r_alloc_free (); | ||
| 237 | #endif /* not _MALLOC_INTERNAL */ | ||
| 238 | #endif /* REL_ALLOC */ | ||
| 239 | |||
| 240 | #endif /* not THIS_IS_YMAKEFILE */ | ||
| 241 | #endif /* not NOT_C_CODE */ | ||