aboutsummaryrefslogtreecommitdiff
path: root/io/fcntl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-02-26 21:32:56 -0500
committerUlrich Drepper <drepper@gmail.com>2012-02-26 21:32:56 -0500
commitd94a4670800de6e8f088b8630ad5142866127980 (patch)
tree77ce944c2371dc45a567104a47454da162579391 /io/fcntl.h
parent4a3dded52708e6d9be190a968f0f09ca57539e13 (diff)
downloadglibc-d94a4670800de6e8f088b8630ad5142866127980.zip
glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.gz
glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.bz2
Add first fixes for conformtest for POSIX2008
Diffstat (limited to 'io/fcntl.h')
-rw-r--r--io/fcntl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/io/fcntl.h b/io/fcntl.h
index a11f823..1192cf5 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -109,9 +109,11 @@ __BEGIN_DECLS
# define AT_REMOVEDIR 0x200 /* Remove directory instead of
unlinking file. */
# define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
-# define AT_NO_AUTOMOUNT 0x800 /* Suppress terminal automount
+# ifdef __USE_GNU
+# define AT_NO_AUTOMOUNT 0x800 /* Suppress terminal automount
traversal. */
-# define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname. */
+# define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname. */
+# endif
# define AT_EACCESS 0x200 /* Test access permitted for
effective IDs, not real IDs. */
#endif