[Top][All Lists]

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

[Qemu-trivial] [PATCH] w32: Remove redundant definitions of PRI*64

From: Stefan Weil
Subject: [Qemu-trivial] [PATCH] w32: Remove redundant definitions of PRI*64
Date: Fri, 24 Jun 2011 12:15:49 +0200

The PRI*64 macros are defined in MinGW's inttypes.h since 2002,
so they are not needed in qemu-common.h (which includes inttypes.h).

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

diff --git a/qemu-common.h b/qemu-common.h
index 109498d..abd7a75 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -112,11 +112,6 @@ static inline char *realpath(const char *path, char 
     _fullpath(resolved_path, path, _MAX_PATH);
     return resolved_path;
-#define PRId64 "I64d"
-#define PRIx64 "I64x"
-#define PRIu64 "I64u"
-#define PRIo64 "I64o"
 /* FIXME: Remove NEED_CPU_H.  */

reply via email to

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