(setpgrp): Don't define if USG and BSD_PGRPS are not defined.
[bpt/emacs.git] / src / callproc.c
index 5acdcfe..b23a0bb 100644 (file)
@@ -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))