qemu-timer.c: fix build on windows.
PATCH 1/1 qemu-timer.c: fix build on windows.
The function qemu_next_alarm_deadline is needed by windows.
Signed-off-by Tristan Gingold <[email protected]>
--- qemu-timer.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
qemu-timer.c +1 -2
@@ -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;
@@ -737,6 +735,7 @@ static int64_t qemu_next_alarm_deadline(void)return delta; } +#ifndef _WIN32#if defined(__linux__)#define RTC_FREQ 1024
Signature · 1 line
1.7.3.GIT
Am 07.02.2011 14:35, schrieb Tristan Gingold:
Quoted 6 lines
The function
qemu_next_alarm_deadlineis needed by windows.Signed-off-by Tristan Gingold <[email protected]>---
qemu-timer.c| 3 +--1 files changed, 1 insertions(+), 2 deletions(-)
[snip]
Maybe one of the maintainers can apply your patch or this one (which already has Paolo's acknowledge):
http://patchwork.ozlabs.org/patch/81952/
Thanks,
Stefan Weil