aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-03-09 12:01:36 -0600
committerRob Landley <rob@landley.net>2013-03-09 12:01:36 -0600
commit364d9ab6aa7fc6fb2b28147dd73d2183b15b45ae (patch)
tree7ad95c926912efcce07321fb85bccbdf36abf268 /lib/portability.h
parentf9d7c95149640c25df6837a90c0a8f91caea27ac (diff)
downloadtoybox-364d9ab6aa7fc6fb2b28147dd73d2183b15b45ae.tar.gz
O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supply them for broken headers.
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/portability.h b/lib/portability.h
index d0726b95..feaf7894 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -30,14 +30,6 @@
// Various constants old build environments might not have even if kernel does
-#ifndef O_DIRECTORY
-#define O_DIRECTORY 0200000
-#endif
-
-#ifndef O_NOFOLLOW
-#define O_NOFOLLOW 0400000
-#endif
-
#ifndef AT_FDCWD
#define AT_FDCWD -100
#endif