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/fopen.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libc/stdio/fopen.c') diff --git a/libc/stdio/fopen.c b/libc/stdio/fopen.c index 8303fa88c..244304acf 100644 --- a/libc/stdio/fopen.c +++ b/libc/stdio/fopen.c @@ -7,14 +7,7 @@ #include "_stdio.h" -#ifdef __DO_LARGEFILE -# ifndef __UCLIBC_HAS_LFS__ -# error large file support is not enabled! -# endif - -# define fopen fopen64 -# define FILEDES_ARG (-2) -#else +#ifndef __DO_LARGEFILE # define FILEDES_ARG (-1) #endif -- cgit v1.2.3