mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 04:08:55 +00:00
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
This commit is contained in:
parent
f4efd16603
commit
8632fb9a6e
2
vl.c
2
vl.c
@ -1350,6 +1350,7 @@ static int64_t qemu_next_deadline(void)
|
|||||||
return delta;
|
return delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__linux__) || defined(_WIN32)
|
||||||
static uint64_t qemu_next_deadline_dyntick(void)
|
static uint64_t qemu_next_deadline_dyntick(void)
|
||||||
{
|
{
|
||||||
int64_t delta;
|
int64_t delta;
|
||||||
@ -1372,6 +1373,7 @@ static uint64_t qemu_next_deadline_dyntick(void)
|
|||||||
|
|
||||||
return delta;
|
return delta;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user