Kaydet (Commit) c716f183 authored tarafından Xavier de Gaye's avatar Xavier de Gaye

Issue #26862: SYS_getdents64 does not need to be defined on android API 21.

üst d20cb026
......@@ -21,8 +21,7 @@
#include <dirent.h>
#endif
#if defined(__ANDROID__) && !defined(SYS_getdents64)
/* Android doesn't expose syscalls, add the definition manually. */
#if defined(__ANDROID__) && __ANDROID_API__ < 21 && !defined(SYS_getdents64)
# include <sys/linux-syscalls.h>
# define SYS_getdents64 __NR_getdents64
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment