On 02/04/2011 10:01 PM, Stefan Weil wrote:
qemu_next_alarm_deadline() is needed by MinGW, too.

Cc: Paolo Bonzini<[email protected]>
Cc: Anthony Liguori<[email protected]>
Signed-off-by: Stefan Weil<[email protected]>
---
  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;

Acked-by: Paolo Bonzini <[email protected]>

Thanks,

Paolo

Reply via email to