aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-06 17:47:39 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-06 17:47:39 +0000
commiteb38c52c2a6df76928c1a4760bc87d21b256e22a (patch)
tree0b391e1d33f6f47a90f7c3fa8e63e863ee9f1b8e /hw/pc.c
parent5bfd5521ff344eedd862abdfda9a68cefad912ba (diff)
downloadqemu-eb38c52c2a6df76928c1a4760bc87d21b256e22a.zip
qemu-eb38c52c2a6df76928c1a4760bc87d21b256e22a.tar.gz
qemu-eb38c52c2a6df76928c1a4760bc87d21b256e22a.tar.bz2
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
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 213ead8..435c7d4 100644
--- a/hw/pc.c
+++ b/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