summaryrefslogtreecommitdiff
path: root/libc/stdio/fopen.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-19 09:13:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-19 09:13:33 +0000
commitb882004687554eb6f9ca7596af7f365b3e1b598b (patch)
tree4ad84b7c17fcf0eec53cfbbe5c8a8ccddcffeb96 /libc/stdio/fopen.c
parent1301cdbf01da859ab1f02e4195c155b2e233daa1 (diff)
simplify Makefile rules for handling of LFS files by tweaking the way we compile the source files as suggested by psm
Diffstat (limited to 'libc/stdio/fopen.c')
-rw-r--r--libc/stdio/fopen.c9
1 files changed, 1 insertions, 8 deletions
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