summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fseeko.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 21:04:15 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 21:04:15 +0000
commitaebf0c050a8598c864dda377b4fadb79225d34ca (patch)
treef67c89bb2536f64c390654810b1aa1b95ae0a11e /libc/stdio/fseeko.c
parent6f728cdcf296054020c8606cb8cb841d84a64245 (diff)
downloaduClibc-alpine-aebf0c050a8598c864dda377b4fadb79225d34ca.tar.bz2
uClibc-alpine-aebf0c050a8598c864dda377b4fadb79225d34ca.tar.xz
Sync up with trunk.
Diffstat (limited to 'libc/stdio/fseeko.c')
-rw-r--r--libc/stdio/fseeko.c13
1 files changed, 1 insertions, 12 deletions
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)