mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-04 06:45:12 -04:00
[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
This commit is contained in:
+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