win32 compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1727 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									1538800276
								
							
						
					
					
						commit
						48c2f068e4
					
				@ -2351,8 +2351,13 @@ static int handle_renames_and_mkdirs(BDRVVVFATState* s)
 | 
				
			|||||||
	    mapping_t* mapping;
 | 
						    mapping_t* mapping;
 | 
				
			||||||
	    int j, parent_path_len;
 | 
						    int j, parent_path_len;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	    if (mkdir(commit->path, 0755))
 | 
					#ifdef __MINGW32__
 | 
				
			||||||
		return -5;
 | 
					            if (mkdir(commit->path))
 | 
				
			||||||
 | 
					                return -5;
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
 | 
					            if (mkdir(commit->path, 0755))
 | 
				
			||||||
 | 
					                return -5;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	    mapping = insert_mapping(s, commit->param.mkdir.cluster,
 | 
						    mapping = insert_mapping(s, commit->param.mkdir.cluster,
 | 
				
			||||||
		    commit->param.mkdir.cluster + 1);
 | 
							    commit->param.mkdir.cluster + 1);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user