From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45637 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlSmh-0006Lr-Sn for qemu-devel@nongnu.org; Fri, 04 Feb 2011 16:01:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlSmf-0005qA-VK for qemu-devel@nongnu.org; Fri, 04 Feb 2011 16:01:39 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:53565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlSmf-0005pp-Iu for qemu-devel@nongnu.org; Fri, 04 Feb 2011 16:01:37 -0500 From: Stefan Weil Date: Fri, 4 Feb 2011 22:01:32 +0100 Message-Id: <1296853292-8450-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] qemu-timer: Fix compilation of new timer code for w32, w64 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Anthony Liguori , Paolo Bonzini qemu_next_alarm_deadline() is needed by MinGW, too. Cc: Paolo Bonzini Cc: Anthony Liguori Signed-off-by: Stefan Weil --- 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