Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue of 32-bit z_off64_t with MinGW{-w64} while _LARGEFILE64_SOURCE=1 & _LFS64_LARGEFILE=1. #934

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ typedef uLong FAR uLongf;

#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#elif defined(_WIN32) && !defined(__GNUC__)
#elif defined(_WIN32) || (defined(__GNUC__) && defined(__int64))
# define z_off64_t __int64
#elif defined(__GO32__)
# define z_off64_t offset_t
Expand Down
2 changes: 1 addition & 1 deletion zconf.h.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ typedef uLong FAR uLongf;

#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#elif defined(_WIN32) && !defined(__GNUC__)
#elif defined(_WIN32) || (defined(__GNUC__) && defined(__int64))
# define z_off64_t __int64
#elif defined(__GO32__)
# define z_off64_t offset_t
Expand Down
2 changes: 1 addition & 1 deletion zconf.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ typedef uLong FAR uLongf;

#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#elif defined(_WIN32) && !defined(__GNUC__)
#elif defined(_WIN32) || (defined(__GNUC__) && defined(__int64))
# define z_off64_t __int64
#elif defined(__GO32__)
# define z_off64_t offset_t
Expand Down