summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 20:43:47 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-19 20:43:47 +0000
commit416883f8206a906f70962b5934d599277525efd7 (patch)
tree5129f531c6f275c55980097a7485a99bb22b3d33
parent6babc3f86fdae6a262c6f1f8b844461709b8a1f1 (diff)
downloaduClibc-alpine-416883f8206a906f70962b5934d599277525efd7.tar.bz2
uClibc-alpine-416883f8206a906f70962b5934d599277525efd7.tar.xz
Copy from trunk.
-rw-r--r--libc/stdio/fseeko64.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/stdio/fseeko64.c b/libc/stdio/fseeko64.c
new file mode 100644
index 000000000..66778e963
--- /dev/null
+++ b/libc/stdio/fseeko64.c
@@ -0,0 +1,15 @@
+/* Copyright (C) 2004 Manuel Novoa III <mjn3@codepoet.org>
+ *
+ * GNU Library General Public License (LGPL) version 2 or later.
+ *
+ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
+ */
+
+#include "_stdio.h"
+
+#ifdef __UCLIBC_HAS_LFS__
+# define __DO_LARGEFILE
+# define FSEEK __fseeko64
+# define OFFSET_TYPE __off64_t
+# include "fseeko.c"
+#endif