diff mbox

w32: Remove redundant definitions of PRI*64

Message ID 1308910549-4445-1-git-send-email-weil@mail.berlios.de
State Accepted
Headers show

Commit Message

Stefan Weil June 24, 2011, 10:15 a.m. UTC
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>
---
 qemu-common.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Comments

Stefan Hajnoczi June 24, 2011, 10:51 a.m. UTC | #1
On Fri, Jun 24, 2011 at 12:15:49PM +0200, Stefan Weil wrote:
> 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>
> ---
>  qemu-common.h |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)

Thanks, applied to the trivial patches tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

Stefan
diff mbox

Patch

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 *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.  */