summaryrefslogtreecommitdiff
path: root/gzlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gzlib.c')
-rw-r--r--gzlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gzlib.c b/gzlib.c
index 57f79bb..7b31d24 100644
--- a/gzlib.c
+++ b/gzlib.c
@@ -5,11 +5,15 @@
#include "gzguts.h"
+#if defined(_WIN32)
+# define LSEEK _lseeki64
+#else
#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
# define LSEEK lseek64
#else
# define LSEEK lseek
#endif
+#endif
/* Local functions */
local void gz_reset OF((gz_statep));