1 /*
2  * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
3  *
4  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5  */
6 #include <features.h>
7 
8 #ifdef __UCLIBC_HAS_LFS__
9 
10 #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
11 #undef _FILE_OFFSET_BITS
12 #define _FILE_OFFSET_BITS   64
13 #endif
14 
15 #ifndef __USE_LARGEFILE64
16 # define __USE_LARGEFILE64      1
17 #endif
18 
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
23 #endif
24 
25 #else
26 
27 # error Do not include this header in files not built when LFS is disabled
28 
29 #endif
30