Received: from [140.186.70.92] (port=57084 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmRFz-0007m6-RH for qemu-devel@nongnu.org; Mon, 07 Feb 2011 08:35:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmRFx-0002EQ-I5 for qemu-devel@nongnu.org; Mon, 07 Feb 2011 08:35:55 -0500 Received: from mel.act-europe.fr ([194.98.77.210]:35078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmRFx-00024P-DJ for qemu-devel@nongnu.org; Mon, 07 Feb 2011 08:35:53 -0500 From: Tristan Gingold Date: Mon, 7 Feb 2011 14:35:31 +0100 Message-Id: <1297085731-1489-1-git-send-email-gingold@adacore.com> Subject: [Qemu-devel] [PATCH] qemu-timer.c: fix build on windows. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Tristan Gingold The function qemu_next_alarm_deadline is needed by windows. Signed-off-by: Tristan Gingold --- qemu-timer.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index 658f637..f81300b 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -708,8 +708,6 @@ int64_t qemu_next_deadline(void) return delta; } -#ifndef _WIN32 - static int64_t qemu_next_alarm_deadline(void) { int64_t delta; @@ -737,6 +735,7 @@ static int64_t qemu_next_alarm_deadline(void) return delta; } +#ifndef _WIN32 #if defined(__linux__) #define RTC_FREQ 1024 -- 1.7.3.GIT