summaryrefslogtreecommitdiff
path: root/libarchive/archive_windows.h
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2011-03-29 07:13:48 -0400
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2011-03-29 07:13:48 -0400
commit7e7bb70e333d8414e5d1a1c366682c52a87d386f (patch)
treec130fea5930c6860b6a950acc49e509ecbc7a3c9 /libarchive/archive_windows.h
parent02c37c9ab3b03377e647918442eb59df9c97163f (diff)
downloadlibarchive-7e7bb70e333d8414e5d1a1c366682c52a87d386f.tar.gz
On Windows, use _fseeki64() instead of fseek() for 64 bits file access.
SVN-Revision: 3123
Diffstat (limited to 'libarchive/archive_windows.h')
-rw-r--r--libarchive/archive_windows.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/libarchive/archive_windows.h b/libarchive/archive_windows.h
index b83bc602..9681b973 100644
--- a/libarchive/archive_windows.h
+++ b/libarchive/archive_windows.h
@@ -249,24 +249,6 @@
#endif
-#ifdef _LARGEFILE_SOURCE
-# define __USE_LARGEFILE 1 /* declare fseeko and ftello */
-#endif
-
-#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
-# define __USE_FILE_OFFSET64 1 /* replace 32-bit functions by 64-bit ones */
-#endif
-
-#if __USE_LARGEFILE && __USE_FILE_OFFSET64
-/* replace stat and seek by their large-file equivalents */
-#ifdef __MINGW32__
-# define fseek fseeko64
-# define fseeko fseeko64
-#endif /* __MINGW32__ */
-#endif /* LARGE_FILES */
-
-/* End of Win32 definitions. */
-
/* Tell libarchive code that we have simulations for these. */
#ifndef HAVE_FTRUNCATE
#define HAVE_FTRUNCATE 1