Commit 8632fb9a6e1f44e506375650d9061e211b746bd5
1 parent
f4efd166
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
Showing
1 changed file
with
2 additions
and
0 deletions
vl.c
| ... | ... | @@ -1350,6 +1350,7 @@ static int64_t qemu_next_deadline(void) |
| 1350 | 1350 | return delta; |
| 1351 | 1351 | } |
| 1352 | 1352 | |
| 1353 | +#if defined(__linux__) || defined(_WIN32) | |
| 1353 | 1354 | static uint64_t qemu_next_deadline_dyntick(void) |
| 1354 | 1355 | { |
| 1355 | 1356 | int64_t delta; |
| ... | ... | @@ -1372,6 +1373,7 @@ static uint64_t qemu_next_deadline_dyntick(void) |
| 1372 | 1373 | |
| 1373 | 1374 | return delta; |
| 1374 | 1375 | } |
| 1376 | +#endif | |
| 1375 | 1377 | |
| 1376 | 1378 | #ifndef _WIN32 |
| 1377 | 1379 | ... | ... |