summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/bits
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-23 04:34:57 +0000
committerRoland McGrath <roland@gnu.org>2001-08-23 04:34:57 +0000
commit8179dcc10808cf2a515cf19d445789193a763ec4 (patch)
tree1443e552a488918bf4a2edc0321a5df9d474b0ee /sysdeps/mach/hurd/bits
parentd9022567542acf6734184696596aef0851e7f8f0 (diff)
downloadglibc-8179dcc10808cf2a515cf19d445789193a763ec4.tar.gz
* conform/conformtest.pl (checknamespace): Sort the output list.
* sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these definitions conditional on [__USE_XOPEN]. * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define these unconditionally, not only use [__USE_BSD], so as to match the sysdeps/unix/sysv/linux files.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r--sysdeps/mach/hurd/bits/fcntl.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h
index 8e39f636c2..09da177e69 100644
--- a/sysdeps/mach/hurd/bits/fcntl.h
+++ b/sysdeps/mach/hurd/bits/fcntl.h
@@ -65,11 +65,9 @@
returned by `fcntl' with the F_GETFL command. */
#define O_APPEND 0x0100 /* Writes always append to the file. */
-#ifdef __USE_BSD
-# define O_ASYNC 0x0200 /* Send SIGIO to owner when data is ready. */
-# define O_FSYNC 0x0400 /* Synchronous writes. */
-# define O_SYNC O_FSYNC
-#endif
+#define O_ASYNC 0x0200 /* Send SIGIO to owner when data is ready. */
+#define O_FSYNC 0x0400 /* Synchronous writes. */
+#define O_SYNC O_FSYNC
#ifdef __USE_GNU
# define O_NOATIME 0x0800 /* Don't set access time on read (owner). */
#endif