fix issues with gdb 8.0
[uclibc-ng.git] / include / _lfs_64.h
blob88af93c0bc15f583f40d4eb036220b7a0d47dd6c
1 /*
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.
5 */
6 #include <features.h>
8 #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
9 #undef _FILE_OFFSET_BITS
10 #define _FILE_OFFSET_BITS 64
11 #endif
13 #ifndef __USE_LARGEFILE64
14 # define __USE_LARGEFILE64 1
15 #endif
17 /* We absolutely do _NOT_ want interfaces silently
18 * renamed under us or very bad things will happen... */
19 #ifdef __USE_FILE_OFFSET64
20 # undef __USE_FILE_OFFSET64
21 #endif