diff options
Diffstat (limited to 'contrib/minizip/miniunz.c')
-rw-r--r-- | contrib/minizip/miniunz.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/minizip/miniunz.c b/contrib/minizip/miniunz.c index 8e19534..616c303 100644 --- a/contrib/minizip/miniunz.c +++ b/contrib/minizip/miniunz.c | |||
@@ -39,6 +39,9 @@ | |||
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | 41 | ||
42 | #ifndef _CRT_SECURE_NO_WARNINGS | ||
43 | # define _CRT_SECURE_NO_WARNINGS | ||
44 | #endif | ||
42 | #include <stdio.h> | 45 | #include <stdio.h> |
43 | #include <stdlib.h> | 46 | #include <stdlib.h> |
44 | #include <string.h> | 47 | #include <string.h> |
@@ -83,6 +86,7 @@ | |||
83 | tmu_date : the SAME new date at the tm_unz format */ | 86 | tmu_date : the SAME new date at the tm_unz format */ |
84 | static void change_file_date(const char *filename, uLong dosdate, tm_unz tmu_date) { | 87 | static void change_file_date(const char *filename, uLong dosdate, tm_unz tmu_date) { |
85 | #ifdef _WIN32 | 88 | #ifdef _WIN32 |
89 | (void)tmu_date; | ||
86 | HANDLE hFile; | 90 | HANDLE hFile; |
87 | FILETIME ftm,ftLocal,ftCreate,ftLastAcc,ftLastWrite; | 91 | FILETIME ftm,ftLocal,ftCreate,ftLastAcc,ftLastWrite; |
88 | 92 | ||