|
|
@ -210,9 +210,5 @@ char ZLIB_INTERNAL *gz_strwinerror(DWORD error); |
|
|
|
/* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t
|
|
|
|
/* GT_OFF(x), where x is an unsigned value, is true if x > maximum z_off64_t
|
|
|
|
value -- needed when comparing unsigned to z_off64_t, which is signed |
|
|
|
value -- needed when comparing unsigned to z_off64_t, which is signed |
|
|
|
(possible z_off64_t types off_t, off64_t, and long are all signed) */ |
|
|
|
(possible z_off64_t types off_t, off64_t, and long are all signed) */ |
|
|
|
#ifdef INT_MAX |
|
|
|
|
|
|
|
# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > INT_MAX) |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
unsigned ZLIB_INTERNAL gz_intmax(void); |
|
|
|
unsigned ZLIB_INTERNAL gz_intmax(void); |
|
|
|
# define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) |
|
|
|
#define GT_OFF(x) (sizeof(int) == sizeof(z_off64_t) && (x) > gz_intmax()) |
|
|
|
#endif |
|
|
|
|
|
|
|