mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Fix most warnings that would be caused by gcc flag -Wundef
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5173 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5bfd5521ff
commit
eb38c52c2a
14 changed files with 67 additions and 64 deletions
2
hw/pc.c
2
hw/pc.c
|
@ -76,7 +76,7 @@ uint64_t cpu_get_tsc(CPUX86State *env)
|
|||
/* Note: when using kqemu, it is more logical to return the host TSC
|
||||
because kqemu does not trap the RDTSC instruction for
|
||||
performance reasons */
|
||||
#if USE_KQEMU
|
||||
#ifdef USE_KQEMU
|
||||
if (env->kqemu_enabled) {
|
||||
return cpu_get_real_ticks();
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue