1 Index: b/grub/asmstub.c
2 ===================================================================
6 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
10 +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
11 /* Try to use glibc's transparant LFS support. */
12 #define _LARGEFILE_SOURCE 1
13 /* lseek becomes synonymous with lseek64. */
14 #define _FILE_OFFSET_BITS 64
17 /* Simulator entry point. */
18 int grub_stage2 (void);
20 ===================================================================
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 +#include <features.h>
28 +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
29 /* Try to use glibc's transparant LFS support. */
30 #define _LARGEFILE_SOURCE 1
31 /* lseek becomes synonymous with lseek64. */
32 #define _FILE_OFFSET_BITS 64