X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=cpu-all.h;h=ebe8bfbadb030b9d8c400b3137e24e0f5541b165;hb=91b40c5be84a478e98c0416325844a7f66d0efae;hp=1a6a81225946d83d957b4cd456758341541e0d63;hpb=4a1418e07bdcfaa3177739e04707ecaec75d89e1;p=qemu diff --git a/cpu-all.h b/cpu-all.h index 1a6a812..ebe8bfb 100644 --- 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;