about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-08-08 18:29:16 +0000
committerUlrich Drepper <drepper@redhat.com>2006-08-08 18:29:16 +0000
commitbe7ffd91f806e5615b9c6a42a63e96c3dc3c54ad (patch)
tree7074f9170667448b27d9b50dc82db684cb69a787
parent2d1e6277e92bd907578cd01d017b1d6aa34485be (diff)
downloadglibc-be7ffd91f806e5615b9c6a42a63e96c3dc3c54ad.tar.gz
glibc-be7ffd91f806e5615b9c6a42a63e96c3dc3c54ad.tar.xz
glibc-be7ffd91f806e5615b9c6a42a63e96c3dc3c54ad.zip
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with
	__USE_GNU.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/fcntl.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 756bd1b2af..ab47b986fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-08-08  Jakub Jelinek  <jakub@redhat.com>
 
+	* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with
+	__USE_GNU.
+
 	* stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab,
 	__strtol_ull_max_tab, __strtol_ull_rem_tab): Declare.
 	(DEF): Don't put the var into .gnu.linkonce.r.* section.
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h b/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
index 1ddb4e349f..ef66d465de 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
@@ -43,9 +43,9 @@
 #define O_SYNC		010000
 #define O_FSYNC		O_SYNC
 #define O_ASYNC		020000
-#define O_DIRECT	040000
 
 #ifdef __USE_GNU
+# define O_DIRECT	040000
 # define O_DIRECTORY	0200000	/* must be a directory */
 # define O_NOFOLLOW	0400000 /* don't follow links */
 # define O_NOATIME	01000000 /* Do not set atime.  */