summaryrefslogtreecommitdiffstats
path: root/vl.h
diff options
context:
space:
mode:
authorths2007-01-26 16:37:46 +0100
committerths2007-01-26 16:37:46 +0100
commit71c2fd5cdfa1106e109c2554d511bdb3bcdccb05 (patch)
tree2420c8f78c27dc309a623760bf7f00955e3ce770 /vl.h
parentMake the tarball's VERSION part overridable from make invocation. (diff)
downloadqemu-71c2fd5cdfa1106e109c2554d511bdb3bcdccb05.tar.gz
qemu-71c2fd5cdfa1106e109c2554d511bdb3bcdccb05.tar.xz
qemu-71c2fd5cdfa1106e109c2554d511bdb3bcdccb05.zip
Define ENOMEDIUM to match ENODEV if it isn't available.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2357 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 5a99ed53bf..c0df579551 100644
--- a/vl.h
+++ b/vl.h
@@ -48,6 +48,9 @@
#ifdef __sun__
#define ENOMEDIUM 4097
#endif
+#ifndef ENOMEDIUM
+#define ENOMEDIUM ENODEV
+#endif
#ifdef _WIN32
#include <windows.h>