Commit 7f1c9da99804235212888abda7ba7f06ee3afc70

Authored by ths
1 parent 284ec167

Darwin build fix, by Pierre d'Herbemont.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2334 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
... ... @@ -35,6 +35,10 @@
35 35 #define SECTOR_BITS 9
36 36 #define SECTOR_SIZE (1 << SECTOR_BITS)
37 37  
  38 +#ifndef ENOMEDIUM
  39 +#define ENOMEDIUM ENODEV
  40 +#endif
  41 +
38 42 typedef struct BlockDriverAIOCBSync {
39 43 BlockDriverAIOCB common;
40 44 QEMUBH *bh;
... ...