changeset 812:5a2b83a92521

O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supply them for broken headers.
author Rob Landley <rob@landley.net>
date Sat, 09 Mar 2013 12:01:36 -0600
parents 7a983e09efad
children 52e69f6710ca
files lib/portability.h
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lib/portability.h	Tue Mar 05 03:06:42 2013 -0600
+++ b/lib/portability.h	Sat Mar 09 12:01:36 2013 -0600
@@ -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