diff options
author | Jim Meyering <jim@meyering.net> | 2004-04-08 08:14:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-04-08 08:14:02 +0000 |
commit | 273184066efb922a7d6a5541a57c378011b4d07d (patch) | |
tree | 169df89837b4446f232b27403cc0101efca600c6 /src/system.h | |
parent | 6be212659d1ff5e843ccc0dfda54560937823317 (diff) | |
download | coreutils-273184066efb922a7d6a5541a57c378011b4d07d.tar.xz |
(O_DIRECT, O_DSYNC, O_NDELAY, O_NOFOLLOW, O_RSYNC, O_SYNC):
Define to 0 if not already defined.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index f89c33d46..b388c1d4b 100644 --- a/src/system.h +++ b/src/system.h @@ -197,6 +197,14 @@ initialize_exit_failure (int status) # define O_TEXT _O_TEXT #endif +#if !defined O_DIRECT +# define O_DIRECT 0 +#endif + +#if !defined O_DSYNC +# define O_DSYNC 0 +#endif + #if !defined O_NDELAY # define O_NDELAY 0 #endif @@ -209,6 +217,18 @@ initialize_exit_failure (int status) # define O_NOCTTY 0 #endif +#if !defined O_NOFOLLOW +# define O_NOFOLLOW 0 +#endif + +#if !defined O_RSYNC +# define O_RSYNC 0 +#endif + +#if !defined O_SYNC +# define O_SYNC 0 +#endif + #ifdef __BEOS__ /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ # undef O_BINARY |