changeset 29150:0398ec3316c5

(setpgrp): Don't define if USG and BSD_PGRPS are not defined.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 24 May 2000 13:08:10 +0000
parents 85d5c2c72cc0
children fa8f476affa7
files src/callproc.c src/emacs.c src/sysdep.c
diffstat 3 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Wed May 24 12:07:06 2000 +0000
+++ b/src/callproc.c	Wed May 24 13:08:10 2000 +0000
@@ -91,8 +91,10 @@
 #endif
 
 #ifdef HAVE_SETPGID
+#if !defined (USG) || defined (BSD_PGRPS)
 #define setpgrp setpgid
 #endif
+#endif
 
 #define max(a, b) ((a) > (b) ? (a) : (b))
 
--- a/src/emacs.c	Wed May 24 12:07:06 2000 +0000
+++ b/src/emacs.c	Wed May 24 13:08:10 2000 +0000
@@ -65,8 +65,10 @@
 #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 ();
--- a/src/sysdep.c	Wed May 24 12:07:06 2000 +0000
+++ b/src/sysdep.c	Wed May 24 13:08:10 2000 +0000
@@ -76,8 +76,10 @@
 #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