Index: qemu/vl.h @@ -30,6 +30,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #include #include #include Index: qemu/dis-asm.h @@ -13,6 +13,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #define PARAMS(x) x typedef void *PTR; Index: qemu/kqemu.c @@ -33,6 +33,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #include "cpu.h" #include "exec-all.h" Index: qemu/translate-all.c @@ -22,6 +22,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #include "config.h" Index: qemu/target-i386/helper.c @@ -21,6 +21,13 @@ //#define DEBUG_PCALL +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif + #if 0 #define raise_exception_err(a, b)\ do {\ Index: qemu/target-i386/helper2.c @@ -22,6 +22,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #include #include Index: qemu/target-ppc/translate.c @@ -22,6 +22,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #include "cpu.h" #include "exec-all.h" Index: qemu/target-sparc/helper.c @@ -22,6 +22,12 @@ #include #include #include +#ifndef PRId64 +#define PRId64 "lld" /* int64_t */ +#define PRIo64 "llo" /* int64_t */ +#define PRIx64 "llx" /* int64_t */ +#define PRIu64 "llu" /* int64_t */ +#endif #include #include