From 7568fde406bcab7f6ee0a626818fe5362927fc68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Mon, 11 Nov 2024 23:20:47 +0100 Subject: [PATCH] missing mz_dos_date defines in unzip.h --- compat/unzip.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compat/unzip.h b/compat/unzip.h index 07718f88..0a0abe37 100644 --- a/compat/unzip.h +++ b/compat/unzip.h @@ -69,6 +69,12 @@ typedef struct tm_unz_s { /***************************************************************************/ +#if !defined(MZ_COMPAT_VERSION) || MZ_COMPAT_VERSION <= 110 +# define mz_dos_date dosDate +#else +# define mz_dos_date dos_date +#endif + /* Global data about the zip from end of central dir */ typedef struct unz_global_info64_s { uint64_t number_entry; /* total number of entries in the central dir on this disk */