[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH] Avoid double definitions of PRI*64

From: Jan Kiszka
Subject: [Qemu-trivial] [PATCH] Avoid double definitions of PRI*64
Date: Thu, 23 Jun 2011 10:15:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv: Gecko/20080226 SUSE/ Thunderbird/ Mnenhy/

From: Jan Kiszka <address@hidden>

Recent mingw32 provide those defines.

Signed-off-by: Jan Kiszka <address@hidden>
 qemu-common.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/qemu-common.h b/qemu-common.h
index 109498d..7ca7e57 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -113,12 +113,15 @@ static inline char *realpath(const char *path, char 
     return resolved_path;
+#ifndef PRId64
 #define PRId64 "I64d"
 #define PRIx64 "I64x"
 #define PRIu64 "I64u"
 #define PRIo64 "I64o"
 /* FIXME: Remove NEED_CPU_H.  */
 #ifndef NEED_CPU_H

reply via email to

[Prev in Thread] Current Thread [Next in Thread]