mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
This commit is contained in:
1 parent
871d176f15
commit
daa976fff6
1 file changed
+2
-2
+2
-2
@@ -44,8 +44,8 @@
|
||||
struct group *getgrnam ();
|
||||
#endif
|
||||
|
||||
#ifdef _POSIX_VERSION
|
||||
#define endgrent()
|
||||
#ifndef HAVE_ENDGRENT
|
||||
# define endgrent() ((void) 0)
|
||||
#endif
|
||||
|
||||
char *group_member ();
|
||||
|
||||
Reference in new issue
Block a user