[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.

This commit is contained in:
Jim Meyering
1995-10-18 16:08:13 +00:00
parent 871d176f15
commit daa976fff6
+2 -2
View File
@@ -44,8 +44,8 @@
struct group *getgrnam ();
#endif
#ifdef _POSIX_VERSION
#define endgrent()
#ifndef HAVE_ENDGRENT
# define endgrent() ((void) 0)
#endif
char *group_member ();