# HG changeset patch # User Rob Landley # Date 1362852096 21600 # Node ID 5a2b83a925210d65dcc9ed8913190dadf192e38f # Parent 7a983e09efad4c7e3f9e333519513b8a45024fd7 O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supply them for broken headers. diff -r 7a983e09efad -r 5a2b83a92521 lib/portability.h --- 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