[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Compile fix for win32
From: |
Kazu |
Subject: |
[Qemu-devel] Compile fix for win32 |
Date: |
Mon, 19 Dec 2005 15:40:15 +0900 |
Hi,
It is comile fix for win32.
Regards,
Kazu
Index: block-vvfat.c
===================================================================
RCS file: /sources/qemu/qemu/block-vvfat.c,v
retrieving revision 1.3
diff -u -r1.3 block-vvfat.c
--- block-vvfat.c 18 Dec 2005 18:29:50 -0000 1.3
+++ block-vvfat.c 19 Dec 2005 06:23:15 -0000
@@ -2351,8 +2351,13 @@
mapping_t* mapping;
int j, parent_path_len;
+#ifdef _WIN32
+ 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);
- [Qemu-devel] Compile fix for win32,
Kazu <=