Commit 3347875f authored by Dave Love's avatar Dave Love
Browse files

Remove string.h hack.

parent c8875a65
...@@ -32,7 +32,8 @@ NOTE-END ...@@ -32,7 +32,8 @@ NOTE-END
#define BITS_PER_LONG 64 #define BITS_PER_LONG 64
#define BITS_PER_EMACS_INT 64 #define BITS_PER_EMACS_INT 64
#ifndef _LP64 #ifndef _LP64
#define _LP64 #define _LP64 /* This doesn't appear to be necessary
on OSF 4/5 -- fx. */
#endif #endif
/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
...@@ -243,19 +244,6 @@ NOTE-END ...@@ -243,19 +244,6 @@ NOTE-END
#include <alloca.h> #include <alloca.h>
#endif #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 #ifdef REL_ALLOC
#ifndef _MALLOC_INTERNAL #ifndef _MALLOC_INTERNAL
/* "char *" because ralloc.c defines it that way. gmalloc.c thinks it /* "char *" because ralloc.c defines it that way. gmalloc.c thinks it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment