[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] qemu-timer: Fix compilation of new timer co
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Re: [PATCH] qemu-timer: Fix compilation of new timer code for w32, w64 |
Date: |
Mon, 7 Feb 2011 21:56:44 +0200 |
Thanks, applied.
On Sat, Feb 5, 2011 at 5:36 PM, Paolo Bonzini <address@hidden> wrote:
> 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
>
>