[5231] Make sure to define fd_open when not on Linux
Revision: 5231
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5231 Author: aliguori Date: 2008-09-15 16:48:11 +0000 (Mon, 15 Sep 2008)
Log Message:
-----------
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 <[email protected]>
Modified Paths:
--------------
trunk/block-raw-posix.c
Modified: trunk/block-raw-posix.c
===================================================================
block-raw-posix.c +5 -0
@@ -1149,6 +1149,11 @@ }#else +static int fd_open (BlockDriverState *bs) +{ +return 0 ; +} +static int raw_is_inserted (BlockDriverState *bs) {return 1 ;