mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-20 10:23:57 +00:00
(setpgrp): Don't define if USG and BSD_PGRPS are not defined.
This commit is contained in:
parent
879bde8346
commit
2b7e8799bb
@ -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))
|
||||
|
||||
|
@ -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 ();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user