Commit f015a9c0 authored by Oleg Kolosov's avatar Oleg Kolosov

Undef DT_UNKNOWN on Android

Fix build error because DTTOIF function is not available.
parent 39c3038c
......@@ -72,6 +72,11 @@ namespace {
#undef SEEK_HOLE
#endif
#if __ANDROID__
// no DTTOIF function
#undef DT_UNKNOWN
#endif
static void setCloexec(int fd) KJ_UNUSED;
static void setCloexec(int fd) {
// Set the O_CLOEXEC flag on the given fd.
......
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