mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(O_DIRECTORY): Define to 0 if the system doesn't define.
This commit is contained in:
1 parent
16b995fdd8
commit
c1dac962eb
1 file changed
+4
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user