From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZf50-0007ol-1q for qemu-devel@nongnu.org; Thu, 23 Jun 2011 04:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZf4y-0001uX-Gb for qemu-devel@nongnu.org; Thu, 23 Jun 2011 04:16:01 -0400 Message-ID: <4E02F63E.3010908@web.de> Date: Thu, 23 Jun 2011 10:15:58 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH] Avoid double definitions of PRI*64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial Cc: qemu-devel From: Jan Kiszka Recent mingw32 provide those defines. Signed-off-by: Jan Kiszka --- 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 *resolved_path) return resolved_path; } +#ifndef PRId64 #define PRId64 "I64d" #define PRIx64 "I64x" #define PRIu64 "I64u" #define PRIo64 "I64o" #endif +#endif + /* FIXME: Remove NEED_CPU_H. */ #ifndef NEED_CPU_H