projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strtoumax: fix another typo in previous commit
[gnulib.git]
/
lib
/
ftello.c
diff --git
a/lib/ftello.c
b/lib/ftello.c
index
864ff1c
..
3a2a0f2
100644
(file)
--- a/
lib/ftello.c
+++ b/
lib/ftello.c
@@
-1,5
+1,5
@@
/* An ftello() function that works around platform bugs.
/* An ftello() function that works around platform bugs.
- Copyright (C) 2007, 2009-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009-201
3
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-31,6
+31,14
@@
ftello (FILE *fp)
# undef ftell
# define ftello ftell
#endif
# undef ftell
# define ftello ftell
#endif
+#if _GL_WINDOWS_64_BIT_OFF_T
+# undef ftello
+# if HAVE__FTELLI64 /* msvc, mingw64 */
+# define ftello _ftelli64
+# else /* mingw */
+# define ftello ftello64
+# endif
+#endif
{
#if LSEEK_PIPE_BROKEN
/* mingw gives bogus answers rather than failure on non-seekable files. */
{
#if LSEEK_PIPE_BROKEN
/* mingw gives bogus answers rather than failure on non-seekable files. */