diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-11 22:23:54 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-11 22:23:54 +0000 |
commit | c1dac962ebf8e9eb14dd25495d4bf7958979c776 (patch) | |
tree | 78de2166a4dc1710ed89d2921a21245c30d20074 | |
parent | 16b995fdd8a2da93a8fe44f45451efcb4c36ed3a (diff) | |
download | coreutils-c1dac962ebf8e9eb14dd25495d4bf7958979c776.tar.xz |
(O_DIRECTORY): Define to 0 if the system doesn't define.
-rw-r--r-- | lib/fts.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -162,6 +162,10 @@ static int fts_safe_changedir __P((FTS *, FTSENT *, int, const char *)) # define SIZE_MAX ((size_t) -1) #endif +#ifndef O_DIRECTORY +# define O_DIRECTORY 0 +#endif + /* The extra casts work around common compiler bugs. */ #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) |