changeset 15562:335159567eb8

(GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Jun 1996 05:04:29 +0000
parents 6f50026fd1e6
children e47df82909ff
files src/systty.h
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/systty.h	Sat Jun 29 01:02:59 1996 +0000
+++ b/src/systty.h	Sat Jun 29 05:04:29 1996 +0000
@@ -292,13 +292,18 @@
 
 #endif
 
-/* EMACS_GETPGRP (arg) returns the process group of the terminal.  */
+/* EMACS_GETPGRP (arg) returns the process group of the process.  */
 
+#ifdef __GNU_LIBRARY__
+/* GNU libc by default defines getpgrp with no args on all systems.  */.
+#define GETPGRP_NO_ARG
+#else /* not __GNU_LIBRARY__ */
 #if defined (USG) && !defined (GETPGRP_NEEDS_ARG)
 #  if !defined (GETPGRP_NO_ARG)
 #    define GETPGRP_NO_ARG
 #  endif
 #endif
+#endif /* not __GNU_LIBRARY__ */
 
 #if defined (GETPGRP_NO_ARG)
 #  define EMACS_GETPGRP(x) getpgrp()