Mercurial > emacs
changeset 29912:e207edc5ac5e
Remove string.h hack.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 23 Jun 2000 16:55:37 +0000 |
parents | 02b0c6c15f1c |
children | f8892a11c005 |
files | src/m/alpha.h |
diffstat | 1 files changed, 2 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/m/alpha.h Fri Jun 23 16:35:41 2000 +0000 +++ b/src/m/alpha.h Fri Jun 23 16:55:37 2000 +0000 @@ -32,7 +32,8 @@ #define BITS_PER_LONG 64 #define BITS_PER_EMACS_INT 64 #ifndef _LP64 -#define _LP64 +#define _LP64 /* This doesn't appear to be necessary + on OSF 4/5 -- fx. */ #endif /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word @@ -243,19 +244,6 @@ #include <alloca.h> #endif -/* Hack alert! For reasons unknown to mankind the string.h file insists - on defining bcopy etc. as taking char pointers as arguments. With - Emacs this produces an endless amount of warning which are harmless, - but tends to flood the real errors. This hack works around this problem - by not prototyping. */ -#define bcopy string_h_bcopy -#define bzero string_h_bzero -#define bcmp string_h_bcmp -#include <string.h> -#undef bcopy -#undef bzero -#undef bcmp - #ifdef REL_ALLOC #ifndef _MALLOC_INTERNAL /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it