platform.h: define endgrent() and endpwent() as no-ops on Android
Surprisingly, bionic libc seems to lack these functions. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -334,6 +334,11 @@ typedef unsigned smalluint;
|
||||
# define MAXSYMLINKS SYMLOOP_MAX
|
||||
#endif
|
||||
|
||||
#if defined(ANDROID) || defined(__ANDROID__)
|
||||
# define endpwent() ((void)0)
|
||||
# define endgrent() ((void)0)
|
||||
#endif
|
||||
|
||||
|
||||
/* ---- Who misses what? ------------------------------------ */
|
||||
|
||||
|
Reference in New Issue
Block a user