aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
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