changeset 29125:63520d6017fb

(setpgrp) [HAVE_SETPGID]: Define as setpgid.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 23 May 2000 22:00:25 +0000
parents 4afc3133497a
children 36006315504c
files src/callproc.c src/emacs.c src/sysdep.c
diffstat 3 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue May 23 21:59:27 2000 +0000
+++ b/src/callproc.c	Tue May 23 22:00:25 2000 +0000
@@ -90,6 +90,10 @@
 extern char **environ;
 #endif
 
+#ifdef HAVE_SETPGID
+#define setpgrp setpgid
+#endif
+
 #define max(a, b) ((a) > (b) ? (a) : (b))
 
 Lisp_Object Vexec_path, Vexec_directory, Vdata_directory, Vdoc_directory;
--- a/src/emacs.c	Tue May 23 21:59:27 2000 +0000
+++ b/src/emacs.c	Tue May 23 22:00:25 2000 +0000
@@ -64,6 +64,10 @@
 #define O_RDWR 2
 #endif
 
+#ifdef HAVE_SETPGID
+#define setpgrp setpgid
+#endif
+
 extern void malloc_warning ();
 extern void set_time_zone_rule ();
 extern char *index ();
--- a/src/sysdep.c	Tue May 23 21:59:27 2000 +0000
+++ b/src/sysdep.c	Tue May 23 22:00:25 2000 +0000
@@ -75,6 +75,10 @@
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_SETPGID
+#define setpgrp setpgid
+#endif
+
 /* Get SI_SRPC_DOMAIN, if it is available.  */
 #ifdef HAVE_SYS_SYSTEMINFO_H
 #include <sys/systeminfo.h>