OSDN Git Service

w32: Remove redundant definitions of PRI*64
authorStefan Weil <weil@mail.berlios.de>
Fri, 24 Jun 2011 10:15:49 +0000 (12:15 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 24 Jun 2011 10:25:16 +0000 (11:25 +0100)
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 <weil@mail.berlios.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-common.h

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