summaryrefslogtreecommitdiff
path: root/libc/stdio/fgetpos.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/fgetpos.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/fgetpos.c')
-rw-r--r--libc/stdio/fgetpos.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libc/stdio/fgetpos.c b/libc/stdio/fgetpos.c
index 9c6c26297..84cf0b98c 100644
--- a/libc/stdio/fgetpos.c
+++ b/libc/stdio/fgetpos.c
@@ -7,16 +7,6 @@
#include "_stdio.h"
-#ifdef __DO_LARGEFILE
-# ifndef __UCLIBC_HAS_LFS__
-# error large file support is not enabled!
-# endif
-
-# define fgetpos fgetpos64
-# define fpos_t fpos64_t
-# define ftell ftello64
-#endif
-
int fgetpos(FILE * __restrict stream, register fpos_t * __restrict pos)
{
#ifdef __STDIO_MBSTATE