mirror of
https://github.com/QuasarApp/zip.git
synced 2025-05-05 16:49:34 +00:00
fix mkdir for tcc on Windows (#261)
This commit is contained in:
parent
203ef139b0
commit
4f23190324
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user