Skip to content

Commit

Permalink
Use 64-bit offsets in DJGPP.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Feb 11, 2024
1 parent c983609 commit 0413463
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions zconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,12 +511,12 @@ typedef uLong FAR uLongf;

#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#elif defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
#elif defined(__GO32__)
# define z_off64_t offset_t
#else
# if defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
# else
# define z_off64_t z_off_t
# endif
# define z_off64_t z_off_t
#endif

/* MVS linker does not support external names larger than 8 bytes */
Expand Down
10 changes: 5 additions & 5 deletions zconf.h.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -513,12 +513,12 @@ typedef uLong FAR uLongf;

#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#elif defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
#elif defined(__GO32__)
# define z_off64_t offset_t
#else
# if defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
# else
# define z_off64_t z_off_t
# endif
# define z_off64_t z_off_t
#endif

/* MVS linker does not support external names larger than 8 bytes */
Expand Down
10 changes: 5 additions & 5 deletions zconf.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -511,12 +511,12 @@ typedef uLong FAR uLongf;

#if !defined(_WIN32) && defined(Z_LARGE64)
# define z_off64_t off64_t
#elif defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
#elif defined(__GO32__)
# define z_off64_t offset_t
#else
# if defined(_WIN32) && !defined(__GNUC__)
# define z_off64_t __int64
# else
# define z_off64_t z_off_t
# endif
# define z_off64_t z_off_t
#endif

/* MVS linker does not support external names larger than 8 bytes */
Expand Down

0 comments on commit 0413463

Please sign in to comment.