]> Git Repo - qemu.git/blobdiff - cpu-all.h
Port host_net_add monitor command to QemuOpts
[qemu.git] / cpu-all.h
index 1a6a81225946d83d957b4cd456758341541e0d63..ebe8bfbadb030b9d8c400b3137e24e0f5541b165 100644 (file)
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -1021,7 +1021,7 @@ static inline int64_t cpu_get_real_ticks (void)
 
 static inline int64_t cpu_get_real_ticks(void)
 {
-#if __mips_isa_rev >= 2
+#if defined(__mips_isa_rev) && __mips_isa_rev >= 2
     uint32_t count;
     static uint32_t cyc_per_count = 0;
 
This page took 0.022372 seconds and 4 git commands to generate.