summaryrefslogtreecommitdiff
path: root/thirdparty/minizip/ioapi.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-03-31 16:17:35 +0200
committerGitHub <noreply@github.com>2022-03-31 16:17:35 +0200
commitfda87d4a89f83c587dd31aa37e1d662d367b1469 (patch)
treee51bfa32dad01cb951dd12ce9e1bb0c6d72baa63 /thirdparty/minizip/ioapi.h
parentb0df742cbe1c81feeb3b5e4a95cecbfabb2fe8f8 (diff)
parent420d0d50bcdc47c793157c2f1e143136eafa6500 (diff)
Merge pull request #59735 from akien-mga/zlib-1.2.12
Diffstat (limited to 'thirdparty/minizip/ioapi.h')
-rw-r--r--thirdparty/minizip/ioapi.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/thirdparty/minizip/ioapi.h b/thirdparty/minizip/ioapi.h
index 4011e9cabb..e9e5899852 100644
--- a/thirdparty/minizip/ioapi.h
+++ b/thirdparty/minizip/ioapi.h
@@ -107,8 +107,7 @@ typedef 64BIT_INT_CUSTOM_TYPE ZPOS64_T;
typedef uint64_t ZPOS64_T;
#else
-/* Maximum unsigned 32-bit value used as placeholder for zip64 */
-#define MAXU32 0xffffffff
+
#if defined(_MSC_VER) || defined(__BORLANDC__)
typedef unsigned __int64 ZPOS64_T;
@@ -118,7 +117,10 @@ typedef unsigned long long int ZPOS64_T;
#endif
#endif
-
+/* Maximum unsigned 32-bit value used as placeholder for zip64 */
+#ifndef MAXU32
+#define MAXU32 (0xffffffff)
+#endif
#ifdef __cplusplus
extern "C" {