about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-06 17:23:27 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-06 17:23:27 +0000
commitc79772f542141d1614e7353ebe6a2c15e1b1e42d (patch)
tree7c98114868ad1e034f3bf49b73367942c9261644 /sysdeps/unix/sysv/linux/alpha/bits
parent652df710ba782d47d40ff47fa699bd3d7fca57d6 (diff)
downloadglibc-c79772f542141d1614e7353ebe6a2c15e1b1e42d.tar.gz
glibc-c79772f542141d1614e7353ebe6a2c15e1b1e42d.tar.xz
glibc-c79772f542141d1614e7353ebe6a2c15e1b1e42d.zip
Update.
1999-08-06  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
	New definitions.
	(O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
	(O_LARGEFILE): Define only if __USE_LARGEFILE64.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
	New definitions.
	(O_LARGEFILE): Define only if __USE_LARGEFILE64.
	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/bits')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/fcntl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index 1ed9944124..312cd08963 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -49,8 +49,10 @@
 # define O_NOFOLLOW	0200000	/* Do not follow links.  */
 #endif
 
+#ifdef __USE_LARGEFILE64
 /* Not necessary, files are always with 64bit off_t.  */
-#define O_LARGEFILE	0
+# define O_LARGEFILE	0
+#endif
 
 /* For now Linux has synchronisity options for data and read operations.
    We define the symbols here but let them do the same as O_SYNC since