qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Avoid double definitions of PRI*64
@ 2011-06-23  8:15 Jan Kiszka
  2011-06-23 13:35 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2011-06-23  8:15 UTC (permalink / raw)
  To: qemu-trivial; +Cc: qemu-devel

From: Jan Kiszka <jan.kiszka@siemens.com>

Recent mingw32 provide those defines.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 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
 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-24  6:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23  8:15 [Qemu-devel] [PATCH] Avoid double definitions of PRI*64 Jan Kiszka
2011-06-23 13:35 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
2011-06-23 14:32   ` Stefan Weil
2011-06-24  5:41     ` Stefan Hajnoczi
2011-06-24  6:11       ` Stefan Weil
2011-06-24  6:12         ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).