summaryrefslogtreecommitdiff
path: root/libc/stdio/ftello.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/ftello.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/ftello.c')
-rw-r--r--libc/stdio/ftello.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c
index 38517acbd..a28333efc 100644
--- a/libc/stdio/ftello.c
+++ b/libc/stdio/ftello.c
@@ -7,19 +7,9 @@
#include "_stdio.h"
-#ifdef __DO_LARGEFILE
-# ifndef __UCLIBC_HAS_LFS__
-# error large file support is not enabled!
-# endif
-
-# define FTELL __ftello64
-# define OFFSET_TYPE __off64_t
-
-#else
-
+#ifndef __DO_LARGEFILE
# define FTELL ftell
# define OFFSET_TYPE long int
-
#endif
OFFSET_TYPE FTELL(register FILE *stream)