Commit 48c2f068 authored by bellard's avatar bellard
Browse files

win32 compile fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1727 c046a42c-6fe2-441c-8c8c-71466251a162
parent 15388002
......@@ -2351,8 +2351,13 @@ static int handle_renames_and_mkdirs(BDRVVVFATState* s)
mapping_t* mapping;
int j, parent_path_len;
if (mkdir(commit->path, 0755))
return -5;
#ifdef __MINGW32__
if (mkdir(commit->path))
return -5;
#else
if (mkdir(commit->path, 0755))
return -5;
#endif
mapping = insert_mapping(s, commit->param.mkdir.cluster,
commit->param.mkdir.cluster + 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment