Skip to content
Snippets Groups Projects
Commit 3f8c7687 authored by Mark Adler's avatar Mark Adler
Browse files

Fix compile option for when z_size_t needs to be a long long.

parent ca50ebd4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -491,7 +491,7 @@ EOF
int main(void) {
if (sizeof(void *) <= sizeof(int)) puts("int");
else if (sizeof(void *) <= sizeof(long)) puts("long");
else puts("long long");
else puts("z_longlong");
return 0;
}
EOF
Loading
Loading
Loading
Loading
@@ -225,6 +225,7 @@
#endif
 
#ifndef Z_SOLO
# define z_longlong long long
# ifdef NO_SIZE_T
typedef unsigned NO_SIZE_T z_size_t;
# else
Loading
Loading
@@ -237,6 +238,7 @@
# include <sys/types.h>
typedef ssize_t z_ssize_t;
# endif
# undef z_longlong
#endif
 
/* Maximum value for memLevel in deflateInit2 */
Loading
Loading
Loading
Loading
@@ -227,6 +227,7 @@
#endif
 
#ifndef Z_SOLO
# define z_longlong long long
# ifdef NO_SIZE_T
typedef unsigned NO_SIZE_T z_size_t;
# else
Loading
Loading
@@ -239,6 +240,7 @@
# include <sys/types.h>
typedef ssize_t z_ssize_t;
# endif
# undef z_longlong
#endif
 
/* Maximum value for memLevel in deflateInit2 */
Loading
Loading
Loading
Loading
@@ -225,6 +225,7 @@
#endif
 
#ifndef Z_SOLO
# define z_longlong long long
# ifdef NO_SIZE_T
typedef unsigned NO_SIZE_T z_size_t;
# else
Loading
Loading
@@ -237,6 +238,7 @@
# include <sys/types.h>
typedef ssize_t z_ssize_t;
# endif
# undef z_longlong
#endif
 
/* Maximum value for memLevel in deflateInit2 */
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment