提交 08af02e2 编写于 作者: A aliguori

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: NAnthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5231 c046a42c-6fe2-441c-8c8c-71466251a162
上级 ca4cca4d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册