diff options
author | Avi Kivity <avi@redhat.com> | 2010-02-23 10:16:53 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-23 17:22:04 +0000 |
commit | 153ceefb4a3dfc234df30bf1770c2c085d39eb2f (patch) | |
tree | d32a34a5f130ee9874f032bd03ee7a13b7b2be26 | |
parent | c5883be23519921254c6940873ee8db04979c20a (diff) |
Fix qemu_eventfd compile when !CONFIG_EVENTFD
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | osdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -289,9 +289,9 @@ ssize_t qemu_write_full(int fd, const void *buf, size_t count) */ int qemu_eventfd(int fds[2]) { +#ifdef CONFIG_EVENTFD int ret; -#ifdef CONFIG_EVENTFD ret = eventfd(0, 0); if (ret >= 0) { fds[0] = ret; |