aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-14 13:59:34 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-14 13:59:34 +0000
commit8632fb9a6e1f44e506375650d9061e211b746bd5 (patch)
treedc7c8717d28001f1a3d36686222cd91878323514 /vl.c
parentf4efd1660326ee85023c980abc533143dee8228d (diff)
qemu_next_deadline_dyntick is only used on Linux and Windows
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5210 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index dd4ffcc8c3..d3da44de18 100644
--- a/vl.c
+++ b/vl.c
@@ -1350,6 +1350,7 @@ static int64_t qemu_next_deadline(void)
return delta;
}
+#if defined(__linux__) || defined(_WIN32)
static uint64_t qemu_next_deadline_dyntick(void)
{
int64_t delta;
@@ -1372,6 +1373,7 @@ static uint64_t qemu_next_deadline_dyntick(void)
return delta;
}
+#endif
#ifndef _WIN32