diff options
author | Avi Kivity <avi@redhat.com> | 2010-02-17 18:37:01 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-02-17 18:37:01 +0200 |
commit | db311e8619d310bd7729637b702581d3d8565049 (patch) | |
tree | 98db4a63dca1d8bc43f41341a0100c1900ead25e | |
parent | cf69927c156c22e9f02715c9032977f81c4615f3 (diff) |
Fix qemu_eventfd compile when !CONFIG_EVENTFD
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | osdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,9 +293,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; |