aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-26 15:37:46 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-26 15:37:46 +0000
commit71c2fd5cdfa1106e109c2554d511bdb3bcdccb05 (patch)
tree2420c8f78c27dc309a623760bf7f00955e3ce770 /block.c
parentdf5cf721605327427e4c033f75fd0875486c109f (diff)
downloadqemu-71c2fd5cdfa1106e109c2554d511bdb3bcdccb05.zip
qemu-71c2fd5cdfa1106e109c2554d511bdb3bcdccb05.tar.gz
qemu-71c2fd5cdfa1106e109c2554d511bdb3bcdccb05.tar.bz2
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 'block.c')
-rw-r--r--block.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/block.c b/block.c
index dfa1edc..9264e42 100644
--- a/block.c
+++ b/block.c
@@ -35,10 +35,6 @@
#define SECTOR_BITS 9
#define SECTOR_SIZE (1 << SECTOR_BITS)
-#ifndef ENOMEDIUM
-#define ENOMEDIUM ENODEV
-#endif
-
typedef struct BlockDriverAIOCBSync {
BlockDriverAIOCB common;
QEMUBH *bh;