From: "Kazu" <kazoo@r3.dion.ne.jp>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Compile fix for win32
Date: Mon, 19 Dec 2005 15:40:15 +0900 [thread overview]
Message-ID: <001301c60467$12253a10$0464a8c0@athlon> (raw)
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);
next reply other threads:[~2005-12-19 6:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-19 6:40 Kazu [this message]
2005-12-19 18:50 ` [Qemu-devel] Compile fix for win32 Johannes Schindelin
-- strict thread matches above, loose matches on Subject: below --
2006-02-08 3:57 Kazu
2006-08-07 5:05 Kazu
2006-09-05 5:25 Kazu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001301c60467$12253a10$0464a8c0@athlon' \
--to=kazoo@r3.dion.ne.jp \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).