* [Qemu-devel] [PATCH] ENOTSUP is also not defined in WINDOWS. It also used to be 4096 in qemu
@ 2009-07-28 19:18 Juan Quintela
2009-07-28 22:22 ` Filip Navara
0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2009-07-28 19:18 UTC (permalink / raw)
To: qemu-devel; +Cc: aliguori
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-28 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 19:18 [Qemu-devel] [PATCH] ENOTSUP is also not defined in WINDOWS. It also used to be 4096 in qemu Juan Quintela
2009-07-28 22:22 ` Filip Navara
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).