From bf9b41aac43ec4fa8a03e3bd4914c6631d4d84d3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 9 Apr 2002 17:33:17 +0000 Subject: Fixup __USE_FILE_OFFSET64 --- libc/sysdeps/linux/common/statfix64.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'libc/sysdeps/linux/common/statfix64.h') diff --git a/libc/sysdeps/linux/common/statfix64.h b/libc/sysdeps/linux/common/statfix64.h index 8e3c925b3..8d6a86a01 100644 --- a/libc/sysdeps/linux/common/statfix64.h +++ b/libc/sysdeps/linux/common/statfix64.h @@ -5,13 +5,15 @@ #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 #undef _FILE_OFFSET_BITS -#define _FILE_OFFSET_BITS 64 -#endif -#ifndef __USE_FILE_OFFSET64 -# define __USE_FILE_OFFSET64 1 +#define _FILE_OFFSET_BITS 64 #endif #ifndef __USE_LARGEFILE64 -# define __USE_LARGEFILE64 1 +# define __USE_LARGEFILE64 1 +#endif +/* We absolutely do _NOT_ want interfaces silently + * * renamed under us or very bad things will happen... */ +#ifdef __USE_FILE_OFFSET64 +# undef __USE_FILE_OFFSET64 #endif #ifdef __UCLIBC_HAVE_LFS__ -- cgit v1.2.3