2 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8 #ifdef __UCLIBC_HAS_LFS__
10 #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
11 #undef _FILE_OFFSET_BITS
12 #define _FILE_OFFSET_BITS 64
15 #ifndef __USE_LARGEFILE64
16 # define __USE_LARGEFILE64 1
19 /* We absolutely do _NOT_ want interfaces silently
20 * renamed under us or very bad things will happen... */
21 #ifdef __USE_FILE_OFFSET64
22 # undef __USE_FILE_OFFSET64
27 # error Do not include this header in files not built when LFS is disabled