Commit 2b7e8799 authored by Gerd Moellmann's avatar Gerd Moellmann

(setpgrp): Don't define if USG and BSD_PGRPS are not defined.

parent 879bde83
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment