projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
284ec16
)
Darwin build fix, by Pierre d'Herbemont.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 18 Jan 2007 22:43:16 +0000
(22:43 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 18 Jan 2007 22:43:16 +0000
(22:43 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2334
c046a42c
-6fe2-441c-8c8c-
71466251a162
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 9264e42a6323ea4c7952b0e9b7aa103d8f4ce415..dfa1edc3ca81346f107902db79e1c3d3fb3c8f21 100644
(file)
--- a/
block.c
+++ b/
block.c
@@
-35,6
+35,10
@@
#define SECTOR_BITS 9
#define SECTOR_SIZE (1 << SECTOR_BITS)
+#ifndef ENOMEDIUM
+#define ENOMEDIUM ENODEV
+#endif
+
typedef struct BlockDriverAIOCBSync {
BlockDriverAIOCB common;
QEMUBH *bh;