(O_DIRECTORY): Define to 0 if the system doesn't define.

This commit is contained in:
Paul Eggert committed 2004-08-11 22:23:54 +00:00
1 parent 16b995fdd8
commit c1dac962eb
1 file changed
+4
+4
View File
@@ -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))