diff options
author | Jim Meyering <jim@meyering.net> | 1995-10-18 16:08:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-10-18 16:08:13 +0000 |
commit | daa976fff6ed92ed31ff116dc1f2ba1744aba4b6 (patch) | |
tree | 01256aa25191948f6ece28483e4e812b502377c3 /src | |
parent | 871d176f15eae7387f6fe2adcd893997207dbbe0 (diff) | |
download | coreutils-daa976fff6ed92ed31ff116dc1f2ba1744aba4b6.tar.xz |
[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
Diffstat (limited to 'src')
-rw-r--r-- | src/chgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chgrp.c b/src/chgrp.c index 0ee2b7297..24ac34be4 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -44,8 +44,8 @@ struct group *getgrnam (); #endif -#ifdef _POSIX_VERSION -#define endgrent() +#ifndef HAVE_ENDGRENT +# define endgrent() ((void) 0) #endif char *group_member (); |