Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid using __int64 for gcc or solo compilation.

  • Loading branch information...
commit 80f3e39eb858db060d9edede6edf7592b7f24934 1 parent 3f4339b
@madler madler authored
Showing with 9 additions and 9 deletions.
  1. +3 −3 zconf.h
  2. +3 −3 zconf.h.cmakein
  3. +3 −3 zconf.h.in
View
6 zconf.h
@@ -439,11 +439,11 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
# define z_off64_t off64_t
#else
-# if defined(_WIN32)
+# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
# define z_off64_t __int64
# else
-# define z_off64_t z_off_t
-#endif
+# define z_off64_t z_off_t
+# endif
#endif
/* MVS linker does not support external names larger than 8 bytes */
View
6 zconf.h.cmakein
@@ -441,11 +441,11 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
# define z_off64_t off64_t
#else
-# if defined(_WIN32)
+# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
# define z_off64_t __int64
# else
-# define z_off64_t z_off_t
-#endif
+# define z_off64_t z_off_t
+# endif
#endif
/* MVS linker does not support external names larger than 8 bytes */
View
6 zconf.h.in
@@ -439,11 +439,11 @@ typedef uLong FAR uLongf;
#if !defined(_WIN32) && (defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0)
# define z_off64_t off64_t
#else
-# if defined(_WIN32)
+# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
# define z_off64_t __int64
# else
-# define z_off64_t z_off_t
-#endif
+# define z_off64_t z_off_t
+# endif
#endif
/* MVS linker does not support external names larger than 8 bytes */
Please sign in to comment.
Something went wrong with that request. Please try again.