Avoid using __int64 for gcc or solo compilation.

This commit is contained in:
Mark Adler 2012-02-20 09:24:30 -08:00
parent 3f4339b61b
commit 80f3e39eb8
3 changed files with 9 additions and 9 deletions

View File

@ -439,7 +439,7 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && (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) # if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
# define z_off64_t __int64 # define z_off64_t __int64
# else # else
# define z_off64_t z_off_t # define z_off64_t z_off_t

View File

@ -441,7 +441,7 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && (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) # if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
# define z_off64_t __int64 # define z_off64_t __int64
# else # else
# define z_off64_t z_off_t # define z_off64_t z_off_t

View File

@ -439,7 +439,7 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && (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) # if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
# define z_off64_t __int64 # define z_off64_t __int64
# else # else
# define z_off64_t z_off_t # define z_off64_t z_off_t