Skip to content

Commit

Permalink
win32 compile fix
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1727 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
bellard committed Dec 19, 2005
1 parent 1538800 commit 48c2f06
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions block-vvfat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 48c2f06

Please sign in to comment.