diff options
author | Dave Love <[email protected]> | 2002-10-30 18:59:01 +0000 |
---|---|---|
committer | Dave Love <[email protected]> | 2002-10-30 18:59:01 +0000 |
commit | a8c834bfdb3ecf52075bd81d38d03d3135ba529e (patch) | |
tree | 9ae1383d1feb5f130b3f38aa87df18beea75a6d0 /src/s/usg5-4.h | |
parent | a86892dc69ae91adcf8bb4b10f03a5f3085a1eb9 (diff) |
(bcopy, bzero): Define conditional on HAVE_BCOPY.
(bcmp): Define conditional on HAVE_BCMP.
(NO_SIOCTL_H): Don't define.
(TIOCSIGSEND): Don't make conditional on IRIX6.
Diffstat (limited to 'src/s/usg5-4.h')
-rw-r--r-- | src/s/usg5-4.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index 70fb8ccb74..097bded32f 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h @@ -57,13 +57,6 @@ Boston, MA 02111-1307, USA. */ /* 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 @@ Boston, MA 02111-1307, USA. */ 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 @@ Boston, MA 02111-1307, USA. */ So give it a try. */ #define HAVE_SOCKETS +#ifndef HAVE_BCOPY #define bcopy(src,dst,n) memmove (dst,src,n) -#define bcmp(src,dst,n) memcmp (src,dst,n) #define bzero(s,n) memset (s,0,n) +#endif +#ifndef HAVE_BCMP +#define bcmp(src,dst,n) memcmp (src,dst,n) +#endif /* Markus Weiand <[email protected]> says this is needed for Motif on SINIX. */ |