diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-11-17 16:20:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-17 16:20:52 +0100 |
commit | 7ae4e75af5366086e60fbc2e9454dfd9e5965102 (patch) | |
tree | 61ea2340323e17e362de7860824917d3eeb66abd /lib/fcntl.in.h | |
parent | 44cd55752aad2a69e1583a2cb37c3b98c5c44ad3 (diff) | |
download | guile-7ae4e75af5366086e60fbc2e9454dfd9e5965102.tar.gz |
Update Gnulib to v0.0-7695-g26c0590.
* gnulib-local/m4/canonicalize.m4.diff: Remove.
* Makefile.am (EXTRA_DIST): Adjust accordingly.
Diffstat (limited to 'lib/fcntl.in.h')
-rw-r--r-- | lib/fcntl.in.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/fcntl.in.h b/lib/fcntl.in.h index f39dfe51d..5c934c025 100644 --- a/lib/fcntl.in.h +++ b/lib/fcntl.in.h @@ -216,6 +216,10 @@ _GL_WARN_ON_USE (openat, "openat is not portable - " # define O_EXEC O_RDONLY /* This is often close enough in older systems. */ #endif +#ifndef O_IGNORE_CTTY +# define O_IGNORE_CTTY 0 +#endif + #ifndef O_NDELAY # define O_NDELAY 0 #endif @@ -249,10 +253,18 @@ _GL_WARN_ON_USE (openat, "openat is not portable - " # define O_NOFOLLOW 0 #endif +#ifndef O_NOLINK +# define O_NOLINK 0 +#endif + #ifndef O_NOLINKS # define O_NOLINKS 0 #endif +#ifndef O_NOTRANS +# define O_NOTRANS 0 +#endif + #ifndef O_RSYNC # define O_RSYNC 0 #endif @@ -269,7 +281,7 @@ _GL_WARN_ON_USE (openat, "openat is not portable - " # define O_TTY_INIT 0 #endif -#if O_ACCMODE != (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) +#if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) # undef O_ACCMODE # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) #endif |