mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
This commit is contained in:
parent
6d912ee1a7
commit
ec07b63d6f
1 changed files with 12 additions and 0 deletions
|
|
@ -24,6 +24,18 @@
|
|||
|
||||
#undef USE_MMAP_FOR_BUFFERS
|
||||
|
||||
/* Newer versions of Solaris have bcopy etc. as functions, with
|
||||
prototypes in strings.h. They lose if the defines from usg5-4.h
|
||||
are visible, which happens when X headers are included. */
|
||||
#ifdef HAVE_BCOPY
|
||||
#undef bcopy
|
||||
#undef bzero
|
||||
#undef bcmp
|
||||
#ifndef NOT_C_CODE
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
|
||||
/* Don't use the shared libraries for -lXt and -lXaw,
|
||||
to work around a linker bug in Solaris 2.5.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue