aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/kernel-features.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 13:15:40 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:23 -0700
commit5aa3a74a59916b489e9cf7c4dce9eb149e106c6c (patch)
treefbbf20974bc75c710d7d7dfe080d98d32a786d67 /sysdeps/mach/hurd/kernel-features.h
parentcd9fa98583b51812e906f1e85cc6e370bb4aff87 (diff)
downloadglibc-5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.tar
glibc-5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.tar.gz
glibc-5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.tar.bz2
glibc-5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.zip
Hurd: dup3
Diffstat (limited to 'sysdeps/mach/hurd/kernel-features.h')
-rw-r--r--sysdeps/mach/hurd/kernel-features.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/sysdeps/mach/hurd/kernel-features.h b/sysdeps/mach/hurd/kernel-features.h
index a0ffcbe8eb..96a0d568f0 100644
--- a/sysdeps/mach/hurd/kernel-features.h
+++ b/sysdeps/mach/hurd/kernel-features.h
@@ -1,5 +1,5 @@
/* Set flags signalling availability of certain operating system features.
- Copyright (C) 2007-2012 Free Software Foundation, Inc.
+ Copyright (C) 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,13 +20,6 @@
Almost none of these are used outside of sysdeps/unix/sysv/linux code.
But those referring to POSIX-level features like O_* flags can be. */
-#include <fcntl.h>
-
-/* If a system defines the O_CLOEXEC constant but it is sometimes ignored,
- it must override this file to define __ASSUME_O_CLOEXEC conditionally
- (or not at all) to indicate when O_CLOEXEC actually works. */
-#ifdef O_CLOEXEC
-# define __ASSUME_O_CLOEXEC 1
-#endif
-
+#define __ASSUME_O_CLOEXEC 1
+#define __ASSUME_DUP3 1
#define __ASSUME_ACCEPT4 1