diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-04 22:01:32 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-07 19:50:29 +0000 |
commit | f26e5a54f0554798a2e6f7a074b809b13635d007 (patch) | |
tree | c464c37010e5b468c0d4d4a52615c1fdd23e60f2 /qemu-timer.c | |
parent | 8591675f44929a9e4b5d3a5fd702a4b6d41c7903 (diff) | |
download | hqemu-f26e5a54f0554798a2e6f7a074b809b13635d007.zip hqemu-f26e5a54f0554798a2e6f7a074b809b13635d007.tar.gz |
qemu-timer: Fix compilation of new timer code for w32, w64
qemu_next_alarm_deadline() is needed by MinGW, too.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-timer.c')
-rw-r--r-- | qemu-timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-timer.c b/qemu-timer.c index 658f637..b0db780 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -708,8 +708,6 @@ int64_t qemu_next_deadline(void) return delta; } -#ifndef _WIN32 - static int64_t qemu_next_alarm_deadline(void) { int64_t delta; @@ -922,6 +920,8 @@ static void dynticks_rearm_timer(struct qemu_alarm_timer *t) #endif /* defined(__linux__) */ +#if !defined(_WIN32) + static int unix_start_timer(struct qemu_alarm_timer *t) { struct sigaction act; |