From b882004687554eb6f9ca7596af7f365b3e1b598b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 19 Nov 2005 09:13:33 +0000 Subject: simplify Makefile rules for handling of LFS files by tweaking the way we compile the source files as suggested by psm --- libc/stdio/fseeko.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'libc/stdio/fseeko.c') diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c index 48979a06b..242292a43 100644 --- a/libc/stdio/fseeko.c +++ b/libc/stdio/fseeko.c @@ -11,22 +11,11 @@ # error Assumption violated -- values of SEEK_SET, SEEK_CUR, SEEK_END #endif -#ifdef __DO_LARGEFILE -# ifndef __UCLIBC_HAS_LFS__ -# error large file support is not enabled! -# endif - -# define FSEEK __fseeko64 -# define OFFSET_TYPE __off64_t - -#else - +#ifndef __DO_LARGEFILE # define FSEEK fseek # define OFFSET_TYPE long int - #endif - int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence) { #if defined(__UCLIBC_HAS_LFS__) && !defined(__DO_LARGEFILE) -- cgit v1.2.3