projects
/
platform
/
upstream
/
zlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64eccaf
)
Include zconf.h.cmakein for windows large file support.
author
Mark Adler
<madler@alumni.caltech.edu>
Sat, 1 Oct 2011 17:19:36 +0000
(10:19 -0700)
committer
Mark Adler
<madler@alumni.caltech.edu>
Sat, 1 Oct 2011 17:19:36 +0000
(10:19 -0700)
zconf.h.cmakein
patch
|
blob
|
history
diff --git
a/zconf.h.cmakein
b/zconf.h.cmakein
index
4a5d9ea
..
0a36a72
100644
(file)
--- a/
zconf.h.cmakein
+++ b/
zconf.h.cmakein
@@
-414,11
+414,15
@@
typedef uLong FAR uLongf;
# define z_off_t long
#endif
-#if
defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
+#if
!defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
# define z_off64_t off64_t
#else
+# if defined(_WIN32)
+# define z_off64_t __int64
+# else
# define z_off64_t z_off_t
#endif
+#endif
#if defined(__OS400__)
# define NO_vsnprintf