Commit f26e5a54 authored by Stefan Weil's avatar Stefan Weil Committed by Blue Swirl
Browse files

qemu-timer: Fix compilation of new timer code for w32, w64

qemu_next_alarm_deadline() is needed by MinGW, too.

Cc: Paolo Bonzini <>
Cc: Anthony Liguori <>
Acked-by: default avatarPaolo Bonzini <>
Signed-off-by: default avatarStefan Weil <>
Signed-off-by: default avatarBlue Swirl <>
parent 8591675f
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment