From: Gerd Moellmann Date: Tue, 23 May 2000 22:00:25 +0000 (+0000) Subject: (setpgrp) [HAVE_SETPGID]: Define as setpgid. X-Git-Tag: emacs-pretest-21.0.90~3774 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f95c3f91250537d195a754ed9730e9578c4df978;p=emacs.git (setpgrp) [HAVE_SETPGID]: Define as setpgid. --- 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