Skip to content

Commit

Permalink
Fix mkdir on mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-- committed Sep 1, 2021
1 parent ca233a2 commit d5e4736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miniz.h
Original file line number Diff line number Diff line change
Expand Up @@ -4909,7 +4909,7 @@ 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
#define MZ_MKDIR(d) mkdir(d, 0755)
#define MZ_MKDIR(d) _mkdir(d)

#elif defined(__TINYC__)
#ifndef MINIZ_NO_TIME
Expand Down

0 comments on commit d5e4736

Please sign in to comment.