platform.h: define endgrent() and endpwent() as no-ops on Android
[oweals/busybox.git] / include / platform.h
index d79cc97e5a9bb843cfa3345219c6fbafee8cc6c9..7451fb7572224bb63b101453c28087e3a5bc0ea1 100644 (file)
@@ -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? ------------------------------------ */