From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QZf55-0007pp-UO for mharc-qemu-trivial@gnu.org; Thu, 23 Jun 2011 04:16:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZf52-0007pB-MC for qemu-trivial@nongnu.org; Thu, 23 Jun 2011 04:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZf51-0001v5-F8 for qemu-trivial@nongnu.org; Thu, 23 Jun 2011 04:16:04 -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 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: jan.kiszka@web.de 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: Stefan Weil , qemu-devel Subject: [Qemu-trivial] [PATCH] Avoid double definitions of PRI*64 X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 08:16:06 -0000 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 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