mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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>
This commit is contained in:
parent
8591675f44
commit
f26e5a54f0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue