mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Make sure to define fd_open when not on Linux
My previous commit broke the build. This was spotted by C.W. Betts. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5231 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ca4cca4da1
commit
08af02e25b
1 changed files with 5 additions and 0 deletions
|
@ -1149,6 +1149,11 @@ static int raw_ioctl(BlockDriverState *bs, unsigned long int req, void *buf)
|
|||
}
|
||||
#else
|
||||
|
||||
static int fd_open(BlockDriverState *bs)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int raw_is_inserted(BlockDriverState *bs)
|
||||
{
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue