From f95c3f91250537d195a754ed9730e9578c4df978 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 23 May 2000 22:00:25 +0000 Subject: [PATCH] (setpgrp) [HAVE_SETPGID]: Define as setpgid. --- src/callproc.c | 4 ++++ src/emacs.c | 4 ++++ src/sysdep.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/callproc.c b/src/callproc.c index eb7ca1b232f..5acdcfe2e1b 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -90,6 +90,10 @@ extern noshare char **environ; extern char **environ; #endif +#ifdef HAVE_SETPGID +#define setpgrp setpgid +#endif + #define max(a, b) ((a) > (b) ? (a) : (b)) Lisp_Object Vexec_path, Vexec_directory, Vdata_directory, Vdoc_directory; diff --git a/src/emacs.c b/src/emacs.c index ab3c7bc25bc..4fcff1391f4 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -64,6 +64,10 @@ Boston, MA 02111-1307, USA. */ #define O_RDWR 2 #endif +#ifdef HAVE_SETPGID +#define setpgrp setpgid +#endif + extern void malloc_warning (); extern void set_time_zone_rule (); extern char *index (); diff --git a/src/sysdep.c b/src/sysdep.c index 63e0991711e..4da3879dbfe 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -75,6 +75,10 @@ extern int h_errno; #include #endif +#ifdef HAVE_SETPGID +#define setpgrp setpgid +#endif + /* Get SI_SRPC_DOMAIN, if it is available. */ #ifdef HAVE_SYS_SYSTEMINFO_H #include -- 2.39.5