4
0
mirror of https://github.com/QuasarApp/zip.git synced 2025-05-05 16:49:34 +00:00

fix mkdir for tcc on Windows ()

This commit is contained in:
Dialga 2022-06-04 08:29:12 +12:00 committed by GitHub
parent 203ef139b0
commit 4f23190324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4942,7 +4942,11 @@ static int mz_mkdir(const char *pDirname) {
#define MZ_FFLUSH fflush
#define MZ_FREOPEN(f, m, s) freopen(f, m, s)
#define MZ_DELETE_FILE remove
#if defined(_WIN32) || defined(_WIN64)
#define MZ_MKDIR(d) _mkdir(d)
#else
#define MZ_MKDIR(d) mkdir(d, 0755)
#endif
#elif defined(__USE_LARGEFILE64) /* gcc, clang */
#ifndef MINIZ_NO_TIME