Mercurial > emacs
changeset 88961:1bba557c4d52
(NO_SIOCTL_H): Don't define.
(TIOCSIGSEND): Don't test IRIX6.
(bcopy, bzero, bcmp): Define conditionally.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 31 Jul 2002 22:31:51 +0000 |
parents | 2ec9bfb8adbc |
children | ecf2fa064ecc |
files | src/s/usg5-4.h |
diffstat | 1 files changed, 5 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/s/usg5-4.h Wed Jul 31 22:30:08 2002 +0000 +++ b/src/s/usg5-4.h Wed Jul 31 22:31:51 2002 +0000 @@ -57,13 +57,6 @@ /* there are no -lg libraries on this system, and no libPW */ #define LIBS_DEBUG -/* This is turned off because nobody actually uses LIBS_STANDARD (Nov 1995). - That name is a typo. The next step is to delete this entirely. */ -/* #define LIBS_STANDARD -lc */ - -/* No <sioctl.h> */ - -#define NO_SIOCTL_H /* Undump with ELF */ @@ -135,9 +128,7 @@ subprocesses the usual way. But TIOCSIGNAL does work for PTYs, and this is all we need. */ -#ifndef IRIX6 #define TIOCSIGSEND TIOCSIGNAL -#endif /* This change means that we don't loop through allocate_pty too many times in the (rare) event of a failure. */ @@ -198,9 +189,13 @@ So give it a try. */ #define HAVE_SOCKETS +#ifndef HAVE_BCOPY #define bcopy(src,dst,n) memmove (dst,src,n) +#define bzero(s,n) memset (s,0,n) +#endif +#ifdef HAVE_BCMP #define bcmp(src,dst,n) memcmp (src,dst,n) -#define bzero(s,n) memset (s,0,n) +#endif /* Markus Weiand <weiand@khof.com> says this is needed for Motif on SINIX. */