From patchwork Thu Jun 23 08:15:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 101600 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2E475B6F7E for ; Thu, 23 Jun 2011 18:23:32 +1000 (EST) Received: from localhost ([::1]:36715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZfCC-0000YI-Qj for incoming@patchwork.ozlabs.org; Thu, 23 Jun 2011 04:23:28 -0400 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 Received: from fmmailgate02.web.de ([217.72.192.227]:35998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZf4y-0001uI-8P; Thu, 23 Jun 2011 04:16:00 -0400 Received: from smtp03.web.de ( [172.20.0.65]) by fmmailgate02.web.de (Postfix) with ESMTP id DD6C81A38FB1A; Thu, 23 Jun 2011 10:15:58 +0200 (CEST) Received: from [88.65.252.133] (helo=mchn199C.mchp.siemens.de) by smtp03.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1QZf4w-0005lg-00; Thu, 23 Jun 2011 10:15:58 +0200 Message-ID: <4E02F63E.3010908@web.de> Date: Thu, 23 Jun 2011 10:15:58 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: qemu-trivial X-Enigmail-Version: 1.1.2 X-Sender: jan.kiszka@web.de X-Provags-ID: V01U2FsdGVkX1/KM7H8Gjrxx0k0IQkG4TdBwiQDs3Sv0dQUWW5+ bllikrBx7BNOb5JUC5m6jk++v+c3yiTrvjzb8RloDvp+hQisvc GU4LYQ/Ek= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 Cc: qemu-devel Subject: [Qemu-devel] [PATCH] Avoid double definitions of PRI*64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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