Commit ca493964 authored by Karl Heuer's avatar Karl Heuer
Browse files

(TIOCSIGSEND): Don't define this if irix6.

(bcopy, bcmp, bzero): Likewise.
parent 808903ab
...@@ -137,7 +137,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -137,7 +137,9 @@ Boston, MA 02111-1307, USA. */
subprocesses the usual way. But TIOCSIGNAL does work for PTYs, and subprocesses the usual way. But TIOCSIGNAL does work for PTYs, and
this is all we need. */ this is all we need. */
#ifndef IRIX6
#define TIOCSIGSEND TIOCSIGNAL #define TIOCSIGSEND TIOCSIGNAL
#endif
/* This change means that we don't loop through allocate_pty too many /* This change means that we don't loop through allocate_pty too many
times in the (rare) event of a failure. */ times in the (rare) event of a failure. */
...@@ -198,6 +200,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -198,6 +200,8 @@ Boston, MA 02111-1307, USA. */
So give it a try. */ So give it a try. */
#define HAVE_SOCKETS #define HAVE_SOCKETS
#ifndef IRIX6
#define bcopy(src,dst,n) memmove (dst,src,n) #define bcopy(src,dst,n) memmove (dst,src,n)
#define bcmp(src,dst,n) memcmp (src,dst,n) #define bcmp(src,dst,n) memcmp (src,dst,n)
#define bzero(s,n) memset (s,0,n) #define bzero(s,n) memset (s,0,n)
#endif
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