projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
platform.h: define endgrent() and endpwent() as no-ops on Android
[platform/upstream/busybox.git]
/
include
/
platform.h
diff --git
a/include/platform.h
b/include/platform.h
index
d79cc97
..
7451fb7
100644
(file)
--- a/
include/platform.h
+++ b/
include/platform.h
@@
-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? ------------------------------------ */