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; ...@@ -91,8 +91,10 @@ extern char **environ;
#endif #endif
#ifdef HAVE_SETPGID #ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS)
#define setpgrp setpgid #define setpgrp setpgid
#endif #endif
#endif
#define max(a, b) ((a) > (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
......
...@@ -65,8 +65,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -65,8 +65,10 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#ifdef HAVE_SETPGID #ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS)
#define setpgrp setpgid #define setpgrp setpgid
#endif #endif
#endif
extern void malloc_warning (); extern void malloc_warning ();
extern void set_time_zone_rule (); extern void set_time_zone_rule ();
......
...@@ -76,8 +76,10 @@ extern int h_errno; ...@@ -76,8 +76,10 @@ extern int h_errno;
#endif #endif
#ifdef HAVE_SETPGID #ifdef HAVE_SETPGID
#if !defined (USG) || defined (BSD_PGRPS)
#define setpgrp setpgid #define setpgrp setpgid
#endif #endif
#endif
/* Get SI_SRPC_DOMAIN, if it is available. */ /* Get SI_SRPC_DOMAIN, if it is available. */
#ifdef HAVE_SYS_SYSTEMINFO_H #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