From 481b90b9d6923adcbe801b7a44f784920f15da14 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Oct 2012 09:19:30 +0200 Subject: [PATCH] Use __O_LARGEFILE instead of O_LARGEFILE --- ChangeLog | 7 +++++++ sysdeps/unix/sysv/linux/s390/bits/fcntl.h | 4 ++-- sysdeps/unix/sysv/linux/sparc/bits/fcntl.h | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6fbc12d..35aa29c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-10-22 Andreas Jaeger + + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename + to __O_LARGEFILE. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename + to __O_LARGEFILE. + 2012-10-21 Jim Blandy Joseph Myers diff --git a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h index 47941c4..6f53fbc 100644 --- a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h @@ -25,9 +25,9 @@ #ifdef __USE_LARGEFILE64 # if __WORDSIZE == 64 /* Not necessary, files are always with 64bit off_t. */ -# define O_LARGEFILE 0 +# define __O_LARGEFILE 0 # else -# define O_LARGEFILE 0100000 +# define __O_LARGEFILE 0100000 # endif #endif diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h index 9c7d43c..b8496a9 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h @@ -43,9 +43,9 @@ #ifdef __USE_LARGEFILE64 # if __WORDSIZE == 64 -# define O_LARGEFILE 0 +# define __O_LARGEFILE 0 # else -# define O_LARGEFILE 0x40000 +# define __O_LARGEFILE 0x40000 # endif #endif -- 2.7.4