Skip to contentSkip to conversation

[5231] Make sure to define fd_open when not on Linux

Qemu-devel Anthony Liguori 1 participant 1 message Sep 15, 2008

lore
Share & tools
lore
#0 lore raw

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.

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;