mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 12:40:49 -08:00
(GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__.
This commit is contained in:
parent
5377087736
commit
281bbdfb6a
1 changed files with 6 additions and 1 deletions
|
|
@ -292,13 +292,18 @@ static struct sensemode {
|
|||
|
||||
#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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue