aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/irix4-0.h
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1993-06-17 05:04:57 +0000
committerJim Blandy <[email protected]>1993-06-17 05:04:57 +0000
commit856a73b38b584fe962f413176ab310cd2b7689a9 (patch)
tree037d457e4d5017d7021a61e0abae3083eee03e20 /src/s/irix4-0.h
parentafd0d2375ab44b40a81c7e509ebbddba688dea2e (diff)
Changes for correct pgrp behavior; approach suggested by Bob
Glickstein <[email protected]>: * m/iris4d.h (LIB_STANDARD): Do list -lbsd here. * s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp and BSDsetpgrp. (GETPGRP_NO_ARG): Don't #define this. * emacs.c (main): Don't test GETPGRP_NO_ARG. * sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
Diffstat (limited to 'src/s/irix4-0.h')
-rw-r--r--src/s/irix4-0.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h
index 70c255044d..e2dbb37c37 100644
--- a/src/s/irix4-0.h
+++ b/src/s/irix4-0.h
@@ -3,8 +3,6 @@
#define USG5_3
#define IRIX4
-#define USE_IRIX_BSDPGRP
-
#define HAVE_ALLOCA
#ifndef NOT_C_CODE
#include <alloca.h>
@@ -52,6 +50,10 @@
strcpy (pty_name, name); \
}
+/* Use the BSD versions of the getpgrp and setpgrp functions. */
+#define setpgrp(pid, pgrp) BSDsetpgrp((pid), (pgrp))
+#define getpgrp(pid) BSDgetpgrp(pid)
+
/* [email protected] reports `struct exception' is not defined
on this system, so inhibit use of matherr. */
#define NO_MATHERR