From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: aliguori@us.ibm.com
Subject: [Qemu-devel] [PATCH] ENOTSUP is also not defined in WINDOWS. It also used to be 4096 in qemu
Date: Tue, 28 Jul 2009 21:18:26 +0200 [thread overview]
Message-ID: <1248808706-8080-1-git-send-email-quintela@redhat.com> (raw)
Windows don't define ENOTSUP either. Old value for qemu was 4096.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
qemu-common.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index 5d7ffeb..648dc44 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -38,7 +38,7 @@
#ifndef ENOMEDIUM
#define ENOMEDIUM ENODEV
#endif
-#if !defined(ENOTSUP) && defined(__OpenBSD__)
+#if !defined(ENOTSUP) && (defined(__OpenBSD__) || defined(_WIN32))
#define ENOTSUP 4096
#endif
--
1.6.2.5
next reply other threads:[~2009-07-28 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 19:18 Juan Quintela [this message]
2009-07-28 22:22 ` [Qemu-devel] [PATCH] ENOTSUP is also not defined in WINDOWS. It also used to be 4096 in qemu Filip Navara
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=1248808706-8080-1-git-send-email-quintela@redhat.com \
--to=quintela@redhat.com \
--cc=aliguori@us.ibm.com \
--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).