mirror of https://github.com/madler/zlib
Include zconf.h for windows large file support.
This commit is contained in:
parent
7142fcfeed
commit
64eccafa78
6
zconf.h
6
zconf.h
|
@ -412,11 +412,15 @@ typedef uLong FAR uLongf;
|
||||||
# define z_off_t long
|
# define z_off_t long
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0
|
#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
|
||||||
# define z_off64_t off64_t
|
# define z_off64_t off64_t
|
||||||
#else
|
#else
|
||||||
|
# if defined(_WIN32)
|
||||||
|
# define z_off64_t __int64
|
||||||
|
# else
|
||||||
# define z_off64_t z_off_t
|
# define z_off64_t z_off_t
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__OS400__)
|
#if defined(__OS400__)
|
||||||
# define NO_vsnprintf
|
# define NO_vsnprintf
|
||||||
|
|
Loading…
Reference in New Issue