(O_LARGEFILE): Define only if __USE_LARGEFILE64.
authorUlrich Drepper <drepper@redhat.com>
Fri, 6 Aug 1999 17:22:24 +0000 (17:22 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Aug 1999 17:22:24 +0000 (17:22 +0000)
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h

index 1ed9944..312cd08 100644 (file)
 # 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