Skip to content

Commit

Permalink
Include zconf.h.cmakein for windows large file support.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Oct 1, 2011
1 parent 64eccaf commit 34538d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zconf.h.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34538d8

Please sign in to comment.