qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-timer: Fix compilation of new timer code for w32, w64
@ 2011-02-04 21:01 Stefan Weil
  2011-02-05 15:36 ` [Qemu-devel] " Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Weil @ 2011-02-04 21:01 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Anthony Liguori, Paolo Bonzini

qemu_next_alarm_deadline() is needed by MinGW, too.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 qemu-timer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu-timer.c b/qemu-timer.c
index b1a3a84..2de02fe 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -706,8 +706,6 @@ int64_t qemu_next_deadline(void)
     return delta;
 }
 
-#ifndef _WIN32
-
 static int64_t qemu_next_alarm_deadline(void)
 {
     int64_t delta;
@@ -920,6 +918,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;
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-07 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 21:01 [Qemu-devel] [PATCH] qemu-timer: Fix compilation of new timer code for w32, w64 Stefan Weil
2011-02-05 15:36 ` [Qemu-devel] " Paolo Bonzini
2011-02-07 19:56   ` Blue Swirl

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).