* [Qemu-devel] [PATCH] qemu-timer.c: fix build on windows.
@ 2011-02-07 13:35 Tristan Gingold
2011-02-07 17:26 ` Stefan Weil
0 siblings, 1 reply; 2+ messages in thread
From: Tristan Gingold @ 2011-02-07 13:35 UTC (permalink / raw)
To: qemu-devel; +Cc: Tristan Gingold
The function qemu_next_alarm_deadline is needed by windows.
Signed-off-by: Tristan Gingold <gingold@adacore.com>
---
qemu-timer.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/qemu-timer.c b/qemu-timer.c
index 658f637..f81300b 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;
@@ -737,6 +735,7 @@ static int64_t qemu_next_alarm_deadline(void)
return delta;
}
+#ifndef _WIN32
#if defined(__linux__)
#define RTC_FREQ 1024
--
1.7.3.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-timer.c: fix build on windows.
2011-02-07 13:35 [Qemu-devel] [PATCH] qemu-timer.c: fix build on windows Tristan Gingold
@ 2011-02-07 17:26 ` Stefan Weil
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Weil @ 2011-02-07 17:26 UTC (permalink / raw)
To: Blue Swirl, Anthony Liguori; +Cc: Tristan Gingold, qemu-devel
Am 07.02.2011 14:35, schrieb Tristan Gingold:
> The function qemu_next_alarm_deadline is needed by windows.
>
> Signed-off-by: Tristan Gingold <gingold@adacore.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-07 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-07 13:35 [Qemu-devel] [PATCH] qemu-timer.c: fix build on windows Tristan Gingold
2011-02-07 17:26 ` Stefan Weil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).