aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-02-06 16:42:44 -0600
committerRob Landley <rob@landley.net>2015-02-06 16:42:44 -0600
commitbd6c3f35ae226125737503dddac48e7924425b49 (patch)
treea69b157514a0febec29d84e780969e2022872d55 /lib
parent436a5c048e352fd6430de4376a083e5a2410c1a2 (diff)
downloadtoybox-bd6c3f35ae226125737503dddac48e7924425b49.tar.gz
Alright, the Android guys agree with the musl guys: faccessat(AT_SYMLINK_NOFOLLOW) is not supported.
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/portability.h b/lib/portability.h
index 143d10f6..70e33bf6 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -150,12 +150,6 @@ int utimensat(int fd, const char *path, const struct timespec times[2], int flag
#include <libgen.h>
#endif
-#ifdef __MUSL__
-#include <unistd.h>
-// Without this "rm -r dir" fails with "is directory".
-#define faccessat(A, B, C, D) faccessat(A, B, C, 0)
-#endif
-
// Work out how to do endianness
#ifndef __APPLE__