From c668edc1a46dc0822745b36d1c7c44c3c23d0e2c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 23 Feb 2002 10:22:27 +0000 Subject: Several naming cleanups so threads work properly again --- libc/sysdeps/linux/common/statfix64.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 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 acf9e8440..8e3c925b3 100644 --- a/libc/sysdeps/linux/common/statfix64.h +++ b/libc/sysdeps/linux/common/statfix64.h @@ -3,9 +3,16 @@ #include +#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 +#undef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 -#define __USE_FILE_OFFSET64 -#define __USE_LARGEFILE64 +#endif +#ifndef __USE_FILE_OFFSET64 +# define __USE_FILE_OFFSET64 1 +#endif +#ifndef __USE_LARGEFILE64 +# define __USE_LARGEFILE64 1 +#endif #ifdef __UCLIBC_HAVE_LFS__ -- cgit v1.2.3