From: Gerd Moellmann Date: Wed, 24 May 2000 13:08:10 +0000 (+0000) Subject: (setpgrp): Don't define if USG and BSD_PGRPS are not defined. X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/2b7e8799bb9d0ff310d203a78e31acb1af12f1a3 (setpgrp): Don't define if USG and BSD_PGRPS are not defined. --- diff --git a/src/callproc.c b/src/callproc.c index 5acdcfe2e1..b23a0bb48e 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -91,8 +91,10 @@ extern char **environ; #endif #ifdef HAVE_SETPGID +#if !defined (USG) || defined (BSD_PGRPS) #define setpgrp setpgid #endif +#endif #define max(a, b) ((a) > (b) ? (a) : (b)) diff --git a/src/emacs.c b/src/emacs.c index 4fcff1391f..835cb5a79e 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -65,8 +65,10 @@ Boston, MA 02111-1307, USA. */ #endif #ifdef HAVE_SETPGID +#if !defined (USG) || defined (BSD_PGRPS) #define setpgrp setpgid #endif +#endif extern void malloc_warning (); extern void set_time_zone_rule (); diff --git a/src/sysdep.c b/src/sysdep.c index 4da3879dbf..36c204ff11 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -76,8 +76,10 @@ extern int h_errno; #endif #ifdef HAVE_SETPGID +#if !defined (USG) || defined (BSD_PGRPS) #define setpgrp setpgid #endif +#endif /* Get SI_SRPC_DOMAIN, if it is available. */ #ifdef HAVE_SYS_SYSTEMINFO_H