qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] qemu-timer.c: fix build on windows.


From: Tristan Gingold
Subject: [Qemu-devel] [PATCH] qemu-timer.c: fix build on windows.
Date: Mon, 7 Feb 2011 14:35:31 +0100

The function qemu_next_alarm_deadline is needed by windows.

Signed-off-by: Tristan Gingold <address@hidden>
---
 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




reply via email to

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