qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] qemu-timer: Fix compilation of new timer code f


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH] qemu-timer: Fix compilation of new timer code for w32, w64
Date: Sat, 05 Feb 2011 16:36:03 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

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

Cc: Paolo Bonzini<address@hidden>
Cc: Anthony Liguori<address@hidden>
Signed-off-by: Stefan Weil<address@hidden>
---
  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 <address@hidden>

Thanks,

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]