diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-02-23 10:22:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-02-23 10:22:27 +0000 |
commit | c668edc1a46dc0822745b36d1c7c44c3c23d0e2c (patch) | |
tree | 5d894954de6954eebdb5d36c88709b805731b80a /libc/sysdeps/linux/common/statfix64.h | |
parent | cca9374b873b22590f8b273d5b6f9cc944e2c002 (diff) |
Several naming cleanups so threads work properly again
Diffstat (limited to 'libc/sysdeps/linux/common/statfix64.h')
-rw-r--r-- | libc/sysdeps/linux/common/statfix64.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 <features.h> +#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__ |