diff options
Diffstat (limited to 'lib/system.h')
-rw-r--r-- | lib/system.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/system.h b/lib/system.h index be2c2eb..a36e061 100644 --- a/lib/system.h +++ b/lib/system.h @@ -109,10 +109,19 @@ extern int errno; #ifndef O_TRUNC # define O_TRUNC 32 /* truncate file on open */ #endif - /* MS-DOG forever, with my love! */ -#ifndef O_BINARY + +#ifndef O_BINARY # define O_BINARY 0 #endif +#ifndef O_DIRECTORY +# define O_DIRECTORY 0 +#endif +#ifndef O_NOATIME +# define O_NOATIME 0 +#endif +#ifndef O_NONBLOCK +# define O_NONBLOCK 0 +#endif /* Declare file status routines and bits. */ |